No description, website, or topics provided.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
docjson.py
requirements.txt
setup.py
test.py
tox.ini

README.md

DocJSON Python client

A client library for interacting with DocJSON hypermedia APIs using Python.

Build Status Coverage Status PyPI version

Installation

Install using pip:

pip install docjson

Usage

>>> doc = docjson.get('http://example.com/api/')

>>> doc.meta.title
'This an example DocJSON API'

>>> doc.pagination.next()

Contributing

Run the tests:

python test.py

Run the tests against all supported python versions:

pip install tox
tox

Run the tests and generate a coverage report:

pip install coverage
coverage run --source docjson test.py; coverage report -m