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/AL/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://yoda.oipa.nl/api/countries/AL/",
    "code": "AL",
    "pk": "AL",
    "numerical_code_un": null,
    "name": "Albania",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://yoda.oipa.nl/api/regions/89/",
        "code": "89",
        "name": "Europe, 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=AL",
    "location": {
        "type": "Point",
        "coordinates": [
            20.0,
            41.0
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    20.590247,
                    41.855404
                ],
                [
                    20.463175,
                    41.515089
                ],
                [
                    20.605182,
                    41.086226
                ],
                [
                    21.02004,
                    40.842727
                ],
                [
                    20.99999,
                    40.580004
                ],
                [
                    20.674997,
                    40.435
                ],
                [
                    20.615,
                    40.110007
                ],
                [
                    20.150016,
                    39.624998
                ],
                [
                    19.98,
                    39.694993
                ],
                [
                    19.960002,
                    39.915006
                ],
                [
                    19.406082,
                    40.250773
                ],
                [
                    19.319059,
                    40.72723
                ],
                [
                    19.40355,
                    41.409566
                ],
                [
                    19.540027,
                    41.719986
                ],
                [
                    19.371769,
                    41.877548
                ],
                [
                    19.304486,
                    42.195745
                ],
                [
                    19.738051,
                    42.688247
                ],
                [
                    19.801613,
                    42.500093
                ],
                [
                    20.0707,
                    42.58863
                ],
                [
                    20.283755,
                    42.32026
                ],
                [
                    20.52295,
                    42.21787
                ],
                [
                    20.590247,
                    41.855404
                ]
            ]
        ]
    }
}