Low Level Client for Crossref Search API
Project description
habanero
This is a low level client for working with Crossref’s search API. It’s been named to be more generic, as other organizations are/will adopt Crossref’s search API, making it possible to ineract with all from one client.
Other Crossref API clients:
- Ruby: serrano, https://github.com/sckott/serrano
- R: rcrossref, https://github.com/ropensci/rcrossref
habanero includes methods matching Crossref API routes:
- /works
- /members
- /prefixes
- /funders
- /journals
- /types
- /licenses
Other methods
- registration_agency - get DOI minting agency
- content_negotiation - get citations in a variety of formats
- citation_count - get citation count for a DOI
Installation
Stable version
pip install habanero
Dev version
sudo pip install git+git://github.com/sckott/habanero.git#egg=habanero # OR git clone git@github.com:sckott/habanero.git cd habanero make install
Usage
Initialize
from habanero import Crossref cr = Crossref()
Works route
x = cr.works(query = "ecology") x.status() x.message() x.total_results() x.items()
Members route
cr.members(ids = 98, works = True)
Meta
- Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
- License: MIT; see LICENSE file
docs/Changelog.rst
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size habanero-0.1.1-py2-none-any.whl (24.6 kB) | File type Wheel | Python version py2 | Upload date | Hashes View |
Filename, size habanero-0.1.1.tar.gz (15.2 kB) | File type Source | Python version None | Upload date | Hashes View |