Skip to main content

openaustralia.org API Python client package

Project description

https://drone.io/bitbucket.org/otherchirps/openaustralia-api-py/status.png

This is a python wrapper for the OpenAustralia API.

NOTE: This isn’t officially affiliated with the OpenAustralia project. It’s just something I’m playing around with. Suggestions / contributions towards making this more useful are welcome.

Documentation

You can find the package documentation here.

Installation

From source

python setup.py install

pip

pip install openaustralia

Usage

from openaustralia import OpenAustralia

oa = OpenAustralia("YOUR KEY")
search = oa.get_hansard("barnacles")
search['rows'].pop(0)

Source code

You can get the code here:

https://bitbucket.org/otherchirps/openaustralia-api-py

Testing

tox is being used to run the tests across python 2.7 & 3.x.

To bootstrap your test environment, the easiest way is you use the pip requirements file:

pip install -r requirements.txt

Then you can simply run:

tox

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
openaustralia-1.0.1.tar.gz (6.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page