Skip to main content

Open Access Monitor API Client

Project description

oampy is a Python package and command line tool that allows to access data from the Open Access Monitor (OAM), which is run by Forschungszentrum Jülich.

Installation

… via PyPI

pip install oampy

Prerequisite

Create an environment variable OAM_EMAIL with your email address. If the variable isn’t created before using this package, your username@hostname will be used to populate the user agent field in the request headers instead. Since version 2.1 you need a token to use the API. Therefore, you must create an environment variable OAM_TOKEN with your token. See also Usage Terms below.

Usage Examples

Command Line

# set environment variable OAM_EMAIL
export OAM_EMAIL="researcher@institution.org"
# set environment variable OAM_TOKEN
export OAM_TOKEN="YOUR_SECRET_OAM_API_TOKEN"
# fetch metadata of journal given by ISSN
oampy journal "0360-4012"
# fetch metadata of publication given by DOI
oampy publication "10.1007/s11263-011-0505-4"

Interpreter

# import package os
import os
# set environment variable OAM_EMAIL
os.environ["OAM_EMAIL"] = "researcher@institution.org"
# set environment variable OAM_TOKEN
os.environ["OAM_TOKEN"] = "YOUR_SECRET_OAM_API_TOKEN"
# import package oampy
import oampy
# fetch metadata of journal
journal = oampy.get_journal("0360-4012")
# fetch metadata of publication
publication = oampy.get_publication("10.1007/s11263-011-0505-4")

Usage Terms

Open Access Monitor

The database of the Open Access Monitor Germany is published under the Open Database License 1.0.

The data can be reused under the following conditions:

  • Reuse of larger amounts of data and use of the API: please contact us.

  • Reuse of the data by download via the OAM application: CC BY 4.0

https://open-access-monitor.de

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

oampy-0.2.1.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

oampy-0.2.1-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file oampy-0.2.1.tar.gz.

File metadata

  • Download URL: oampy-0.2.1.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/5.0.0 pkginfo/1.5.0.1 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.15

File hashes

Hashes for oampy-0.2.1.tar.gz
Algorithm Hash digest
SHA256 606f03ec058d053d10428c2ded129e26fd7ef9fad53bdd7f6dfd84a6e7e8f73a
MD5 581d4a7848cf2be74faadf54bf3368c4
BLAKE2b-256 625d50b102eb794dc90a41dde75d30f118ec19756c56659ccd67467e18a9f122

See more details on using hashes here.

File details

Details for the file oampy-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: oampy-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/5.0.0 pkginfo/1.5.0.1 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.15

File hashes

Hashes for oampy-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63fd7275a9fd0eb08b674e4ae6e7a8406078b6b7a27910e9f2528062ea6e6d34
MD5 d79f5166e5907d49143873a5b84d3f2c
BLAKE2b-256 f11969ce5282a744a66f9eaf4d0e1683f146087d6e815134119f5c4b78150a14

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