Skip to content

ievans3024/collection-json.python

 
 

Repository files navigation

collection-json

https://badge.fury.io/py/collection-json.png https://travis-ci.org/ricardokirkner/collection-json.python.png?branch=master https://coveralls.io/repos/ricardokirkner/collection-json.python/badge.png

collection-json is a small library, written in Python, to work with Collection+JSON documents.

Installation

The easiest way to install collection-json is to run

$ pip install collection-json

For other ways of installing it, please refer to the documentation.

Examples

Parsing a Collection+JSON document is really simple

>>> import requests
>>> from collection_json import Collection
>>> data = requests.get('http://www.youtypeitwepostit.com/api/').text
>>> collection = Collection.from_json(data)
>>> collection
<Collection: version='1.0' href='http://www.youtypeitwepostit.com/api/'>

The documentation includes several usage examples, go and check it out!

About

small python library to work with Collection+JSON documents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.6%
  • Shell 12.4%