Get-stats-mediterranean-origin

From UNHCR
Revision as of 16:45, 1 October 2015 by HQ Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Returns a list of origin and asylum countries

Resource URL


http://data.unhcr.org/api/stats/mediterranean/origin.json


Parameters


country_of_asylum

optional

Country of asylum

Example Values: SPA

country_of_origin

optional

Country of origin

Example Values: ALG


Example Request


GET http://data.unhcr.org/api/stats/mediterranean/origin.json?country_of_asylum=SPA&country_of_origin=ALG
[
    {
        "country_of_asylum" : "SPA",
        "country_of_asylum_en" : "Spain",
        "country_of_origin" : "ALG",
        "country_of_origin_en" : "Algeria",                
        "value" : 551,
        "last_updated" : 1440993600,
    }
]