Skip to main content

A simple python interface for World Bank Data Indicator and Climate APIs

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_wbd-0.5.1.tar.gz (19.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page