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.

Source Distribution

openaustralia-1.0.1.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file openaustralia-1.0.1.tar.gz.

File metadata

  • Download URL: openaustralia-1.0.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for openaustralia-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a39420c0804b207b2acf863adc12eb275bc25b748c423ee2549aba0e8db38887
MD5 6d0a9503481e2807849bd2931ab7cf78
BLAKE2b-256 582fc86c3fc61e2a8d73a8035cee9e7db1cd94d359833807a6023553c5a96481

See more details on using hashes here.

Supported by

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