Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Low Level Client for Crossref Search API

Project description

habanero

https://travis-ci.org/sckott/habanero.svg https://coveralls.io/repos/sckott/habanero/badge.svg?branch=master&service=github https://readthedocs.org/projects/habanero/badge/?version=latest

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.

Crossref API docs

Other Crossref API clients:

habanero includes methods matching Crossref API routes:

  • /works
  • /members
  • /prefixes
  • /funders
  • /journals
  • /types
  • /licenses

Other methods

  • agency - get DOI minting agency
  • content_negotiation - get citations in a variety of formats

Installation

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 Habanero
hb = Habanero()

Works route

x = hb.works(query = "ecology")
x.status()
x.message()
x.total_results()
x.items()

Members route

hb.members(ids = 98, works = True)

Meta

docs/Changelog.rst

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
habanero-0.0.6-py2-none-any.whl (16.4 kB) Copy SHA256 hash SHA256 Wheel py2
habanero-0.0.6.tar.gz (11.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page