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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

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

Hashes for habanero-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9eff208a7d00c3d04fe05c97fff12599dc62114ac1991bd5e7d183b9cac2d823
MD5 b10229ef66e776496713461ca13ef17e
BLAKE2b-256 9978f02638730a2844c422b6e7147cd4955f051e0a73756f91468ff8a0faeb18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for habanero-0.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 f7300f23b57b505a2b694d9203d264c2a0df1b5a19b50a350f2435dd375edc6c
MD5 9db2f3f0ed4928bc5faf83b93c79e889
BLAKE2b-256 1ad3b570a198642f97e7c62a1ce8ac19c868dd3ad56f3932b649afdcde285610

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