https://api.apifreaks.com/v1.0/geo/admin-unit/details
$ pip install requests
Click Test it to start the request and see the response here!
Field | Type | Requirement | Description |
---|---|---|---|
name | String | Mandatory | Name of the administrative unit. |
admin_code | String | Mandatory | Administrative code of the unit. |
admin_iso3166_2 | String | Mandatory | Admin code in ISO 3166-1 alpha-2 format. |
admin_level | String | Mandatory | Level or type of the administrative unit (e.g., province, region). |
country_iso3166_2 | String | Mandatory | Country code in ISO 3166-1 alpha-2 format. |
country_name | String | Mandatory | Name of the country. |