Skip to main content

Low Level Client for Crossref Search API

Project description

habanero

pypi docs travis coverage

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

  • 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

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.

Source Distribution

habanero-0.1.1.tar.gz (15.2 kB view hashes)

Uploaded source

Built Distribution

habanero-0.1.1-py2-none-any.whl (24.6 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page