Okapi/Folio Manager and Library
Project description
FolioLib is an API-Client for Folio. The API is generated from the RAML and OAS files from the Folio-Modules.
Documentation can be found here.
Features:
Python Folio API
Commandline interface
Install and manage Folio
Install and manage Folio on Kubernetes
Manage multiple Folio servers
Quickstart
The installation requires python 3.6 or higher.
pip install foliolib
Define a config for your Folio server:
foliolib server create --help
foliolib server create myServer -H okapi.server.url -p 9130
Make a Folio-API request:
>>> from foliolib import server
>>> from foliolib.folio.users import Users
>>> from foliolib.folio.api.inventory import Inventory
>>>
>>> server("myServer")
>>>
>>> Users("TenantId").login("UserId","Password")
>>> inventory = Inventory("TenantId")
>>> instances = inventory.get_instances(query="title==*")
>>> print(instances)
Also foliolib provides a command line interface:
foliolib --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
foliolib-0.3.4a1.tar.gz
(171.9 kB
view hashes)