2019-05-09 18:54:39 +12:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Appwrite\Client;
|
|
|
|
use Appwrite\Services\Avatars;
|
|
|
|
|
|
|
|
$client = new Client();
|
|
|
|
|
|
|
|
$client
|
2019-10-02 07:10:33 +13:00
|
|
|
->setProject('')
|
|
|
|
->setKey('')
|
2019-05-09 18:54:39 +12:00
|
|
|
;
|
|
|
|
|
|
|
|
$avatars = new Avatars($client);
|
|
|
|
|
|
|
|
$result = $avatars->getFlag('af');
|