require('vendor/autoload.php');
use Emis\Http\Client;
use Emis\Document\Api\Proxy\Dictionary;
$client = new Client();
$client->setApi(Client::DOCUMENTS_API);
$client->setToken("YOUR_TOKEN");
$dictionary = new Dictionary($client);
foreach ($dictionary->getCountries() as $country) {
echo $country->getCode() . " : " . $country->getName() . "\n";
}