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.
Source Distribution
Built Distribution
File details
Details for the file habanero-0.1.1.tar.gz
.
File metadata
- Download URL: habanero-0.1.1.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9eff208a7d00c3d04fe05c97fff12599dc62114ac1991bd5e7d183b9cac2d823 |
|
MD5 | b10229ef66e776496713461ca13ef17e |
|
BLAKE2b-256 | 9978f02638730a2844c422b6e7147cd4955f051e0a73756f91468ff8a0faeb18 |
File details
Details for the file habanero-0.1.1-py2-none-any.whl
.
File metadata
- Download URL: habanero-0.1.1-py2-none-any.whl
- Upload date:
- Size: 24.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7300f23b57b505a2b694d9203d264c2a0df1b5a19b50a350f2435dd375edc6c |
|
MD5 | 9db2f3f0ed4928bc5faf83b93c79e889 |
|
BLAKE2b-256 | 1ad3b570a198642f97e7c62a1ce8ac19c868dd3ad56f3932b649afdcde285610 |