Exposed through the API as query “end-points” in a REST architecture.
Endpoints currently exposed by the API are: Countries, Photos, LendingTypes, IncomeLevels, Indicators[$type], Authors, Topics, Keywords, Sources. A simple API call like: http://open.worldbank.org/v2/countries?api_key=XXXX returns the list of countries in the system, with some vital details about each country like: the name, iso2 code, region, income level, capital city, the geo data of the location of the capital etc. To get specifics about a particular country, you can use the iso2 code captured from the country listing to construct your next query: http://open.worldbank.org/v2/countries/ge?api_key=XXXX gives data regarding a particular country.
(Link: World Bank Open API 2.0 Launched)


April 14, 2009

No comments yet... Be the first to leave a reply!