Web5design / world_bank_php

World Bank PHP API Library

Home Page:http://data.worldbank.org/developers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

World Bank API

http://data.worldbank.org/developers/api-overview

Implements rest-style API.

Usage

// Base API Class
require 'APIBaseClass.php';

require 'worldBankApi.php';

$new = new worldBankApi();

echo $new->call_topic();
// reference  http://data.worldbank.org/querybuilder 
echo $new->call_data('BEL','AG.CON.FERT.ZS');

echo $new->call_source();

echo $new->call_indicator();

echo $new->country_calls_countries();

echo $new->country_calls_regions();

echo $new->country_calls_lendingtype();

echo $new->country_calls_incomelevel();

// Debug information
die(print_r($new).print_r(get_object_vars($new)).print_r(get_class_methods(get_class($new))));

About

World Bank PHP API Library

http://data.worldbank.org/developers

License:BSD 3-Clause "New" or "Revised" License