Skip to content

Latest commit

 

History

History
62 lines (38 loc) · 1.58 KB

README.rst

File metadata and controls

62 lines (38 loc) · 1.58 KB

Simple World Band Data api interface

Traves CI Code Coverage Code Climate Dependency Status

This is a simple python interface for World Bank Data APIs. The goal of this project is to provide a user with the most basic interface, focused on the ease of use. For a more feature complete API helpers take a look at wbpy and wbdata.

Installation

For basic usage:

pip instal git+git://github.com/zidarsk8/simple_wbd.git

Usage

import simple_wbd
api = simple_wbd.ClimateAPI()
climate = api.get_instrumental("Italy")

climates = api.get_instrumental(["Italy", "Slovenia", "US"])

For development

Install

virtualenv --python=python3 venv3
venv3/bin/activate
git clone git://github.com/zidarsk8/simple_wbd.git
cd simple_wbd
pip install -e .[dev,test]

Run tests

python setup.py test