Countries Dictionary (Updated: 04.Jan.2022)
You need token(which expires in 5 min) which you get from step 1, and also add that token to your
query explained in Generate Token
Then you can send GET request with 1 optional parameters l (short for language)
We have language options for Country Dictionary. Our DEFAULT language is English. Unless you
mentional a language we will give you English version. Language options for this dictionary are:
pr= Persian
ru= Russian
tr= Turkish
URL: https://services.geniusfeeds.live/v2/dictionaries/countries
Examples:
(Get countries in Russian) https://services.geniusfeeds.live/v2/dictionaries/countries?l=ru
(Get country of id=125) https://services.geniusfeeds.live/v2/dictionaries/countries/125
When you register to our webhook service we will inform you if there is change in countries dictionary.
Optional Filters: (Parameters)
- l: Language Optional Values: "tr","ru","pr","en"
Explanations
| Parameter | Description |
|---|---|
| t | Updated or Inserted Time |
| i | ID of Country |
| n | Name of Country |
Response
[
{
"i": 1, //id of country(string)
"n": "Colombia", //name of country
"t": "2020-10-28T11:31:34.000Z", //updated or inserted time
}
]
Postman Token Adding(Bearer+" "+YourToken) Example:(change Dictionary service in URL)
Postman Example:(Check Optional Parametres)