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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oampy-0.3.0-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oampy-0.3.0.tar.gz
  • Upload date:
  • Size: 44.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for oampy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 78521ad554006743a00619caef058b9a43a18da47907b75b3c176b47acfa33a1
MD5 c3cbf426abdcc53f9cedc120eabaefca
BLAKE2b-256 ddbc0a7043aba5ee089735a934de9694972078894d1bed5db99d76bf14e55673

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oampy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 32.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for oampy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0376e0af0181dc3c8896271965050cc630de5a474b5d23649ec076802a3dff5
MD5 2c0e787625e9edab3ccc152e0cf205fa
BLAKE2b-256 3bb08224bb44ce442d55dd24538a9828249a654a7aafc1fbc3b5818c61e65a9f

See more details on using hashes here.

Supported by

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