Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

World Bank PHP API Library

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 APIBaseClass.php
Octocat-spinner-32 README.markdown
Octocat-spinner-32 TestOfWorldBankApi.php
Octocat-spinner-32 license.txt
Octocat-spinner-32 worldBankApi.php
README.markdown

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))));
Something went wrong with that request. Please try again.