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/BI/?format=api
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://oipa2018.unesco.org/api/countries/BI/?format=api",
    "code": "BI",
    "pk": "BI",
    "numerical_code_un": null,
    "name": "Burundi",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://oipa2018.unesco.org/api/regions/289/?format=api",
        "code": "289",
        "name": "South of Sahara, regional"
    },
    "un_region": null,
    "unesco_region": null,
    "dac_country_code": null,
    "iso3": null,
    "alpha3": null,
    "fips10": null,
    "data_source": "IATI",
    "activities": "https://oipa2018.unesco.org/api/activities/?recipient_country=BI",
    "location": {
        "type": "Point",
        "coordinates": [
            30.0,
            -3.3
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    29.339998,
                    -4.499983
                ],
                [
                    29.276384,
                    -3.293907
                ],
                [
                    29.024926,
                    -2.839258
                ],
                [
                    29.632176,
                    -2.917858
                ],
                [
                    29.938359,
                    -2.348487
                ],
                [
                    30.469696,
                    -2.413858
                ],
                [
                    30.527677,
                    -2.807632
                ],
                [
                    30.743013,
                    -3.034285
                ],
                [
                    30.752263,
                    -3.35933
                ],
                [
                    30.50556,
                    -3.568567
                ],
                [
                    30.116333,
                    -4.090138
                ],
                [
                    29.753512,
                    -4.452389
                ],
                [
                    29.339998,
                    -4.499983
                ]
            ]
        ]
    }
}