Country Detail

Returns detailed information about Country.

URI Format

/api/countries/{country_id}

URI Parameters

  • country_id: Numerical ID of desired Country

Request parameters

  • fields (optional): List of fields to display
GET /api/countries/AE/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://yoda.oipa.nl/api/countries/AE/",
    "code": "AE",
    "pk": "AE",
    "numerical_code_un": null,
    "name": "United Arab Emirates (The)",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://yoda.oipa.nl/api/regions/589/",
        "code": "589",
        "name": "Middle East, regional"
    },
    "un_region": null,
    "unesco_region": null,
    "dac_country_code": null,
    "iso3": null,
    "alpha3": null,
    "fips10": null,
    "data_source": "IATI",
    "activities": "https://yoda.oipa.nl/api/activities/?recipient_country=AE",
    "location": {
        "type": "Point",
        "coordinates": [
            54.0,
            24.0
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    51.579519,
                    24.245497
                ],
                [
                    51.757441,
                    24.294073
                ],
                [
                    51.794389,
                    24.019826
                ],
                [
                    52.577081,
                    24.177439
                ],
                [
                    53.404007,
                    24.151317
                ],
                [
                    54.008001,
                    24.121758
                ],
                [
                    54.693024,
                    24.797892
                ],
                [
                    55.439025,
                    25.439145
                ],
                [
                    56.070821,
                    26.055464
                ],
                [
                    56.261042,
                    25.714606
                ],
                [
                    56.396847,
                    24.924732
                ],
                [
                    55.886233,
                    24.920831
                ],
                [
                    55.804119,
                    24.269604
                ],
                [
                    55.981214,
                    24.130543
                ],
                [
                    55.528632,
                    23.933604
                ],
                [
                    55.525841,
                    23.524869
                ],
                [
                    55.234489,
                    23.110993
                ],
                [
                    55.208341,
                    22.70833
                ],
                [
                    55.006803,
                    22.496948
                ],
                [
                    52.000733,
                    23.001154
                ],
                [
                    51.617708,
                    24.014219
                ],
                [
                    51.579519,
                    24.245497
                ]
            ]
        ]
    }
}