Name | Type | Description |
---|
Authorization | string | oAuth token with mandatory Bearer before it. Example: Bearer e***s0 , where e***s0 should be replaced with your oAuth token. |
Name | Type | Description |
---|
lang | string | Optional parameter changing language in the response (English if lang is not specified). |
withStates | boolean | Optional parameter. Adds states field for each country in the response. |
A JSON object with the following fields in an array for every country:
Field | Type | Description |
---|
code | string | Two-digit country/state code in ISO 639-1 format |
name | string | Country/state name in the specified language |