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/AM/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://yoda.oipa.nl/api/countries/AM/",
    "code": "AM",
    "pk": "AM",
    "numerical_code_un": null,
    "name": "Armenia",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://yoda.oipa.nl/api/regions/689/",
        "code": "689",
        "name": "South & Central Asia, 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=AM",
    "location": {
        "type": "Point",
        "coordinates": [
            45.0,
            40.0
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    43.582746,
                    41.092143
                ],
                [
                    44.97248,
                    41.248129
                ],
                [
                    45.179496,
                    40.985354
                ],
                [
                    45.560351,
                    40.81229
                ],
                [
                    45.359175,
                    40.561504
                ],
                [
                    45.891907,
                    40.218476
                ],
                [
                    45.610012,
                    39.899994
                ],
                [
                    46.034534,
                    39.628021
                ],
                [
                    46.483499,
                    39.464155
                ],
                [
                    46.50572,
                    38.770605
                ],
                [
                    46.143623,
                    38.741201
                ],
                [
                    45.735379,
                    39.319719
                ],
                [
                    45.739978,
                    39.473999
                ],
                [
                    45.298145,
                    39.471751
                ],
                [
                    45.001987,
                    39.740004
                ],
                [
                    44.79399,
                    39.713003
                ],
                [
                    44.400009,
                    40.005
                ],
                [
                    43.656436,
                    40.253564
                ],
                [
                    43.752658,
                    40.740201
                ],
                [
                    43.582746,
                    41.092143
                ]
            ]
        ]
    }
}