Skip to main content

CLI tool for retrieving holding counts for a list of OCNs and libraries

Project description

lib-holdings

CLI tool for retrieving holding counts for a list of OCNs and libraries. Uses the OCLC API: https://developer.api.oclc.org/

Installation

$ pip install lib-holdings

Usage

$ holdings [OPTIONS] INFILE_OCNS INFILE_SYMB OUT_FOLDER

ARGUMENTS:

INFILE_OCNS:    text file containing OCNs (1 per line)
INFILE_SYMB:    text file containing institute symbols (1 per line)
OUT_FOLDER:     path to the output directory

OPTIONS:

--start INTEGER  Position of OCN to start with.
--key TEXT       OCLC API key.
--secret TEXT    OCLC API secret.

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

lib_holdings-1.0.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

lib_holdings-1.0.0-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

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