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.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

habanero-0.1.0-py2-none-any.whl (24.6 kB view details)

Uploaded Python 2

File details

Details for the file habanero-0.1.0.tar.gz.

File metadata

  • Download URL: habanero-0.1.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for habanero-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8763a30cba0adae514a80d668e4afb14e2ca4e31336f4b175018ddd679cbbdc3
MD5 9336238eb70ff10a3afe17e0b32e8cbd
BLAKE2b-256 0d8b8c1dd77e15e5d4c64dbca7f224589e8d102a84448e524db2848fccb87e8f

See more details on using hashes here.

File details

Details for the file habanero-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for habanero-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 addff267649427f2ae401d694e50fc336be4d78662c28ea32037731057d038a5
MD5 7b65df385d676b81a638f07f6f78ac50
BLAKE2b-256 10a64a0221bcc23b1e77ea592a3e3675aea801823eba42871e11a8617e266441

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page