Git Product home page Git Product logo

liberopy's Introduction

liberopy

This Python package provides a Libero Web Services SOAP API client.

Setup

Depending on your preferred installation scope, you may need to use sudo or pip’s --user flag when running the following setup commands. However, it is recommended to use a virtual environment that does not require either:

python3 -m venv env
. env/bin/activate

... via SSH

pip install -e git+ssh://[email protected]/herreio/liberopy.git#egg=liberopy

... or via HTTPS

pip install -e git+https://github.com/herreio/liberopy.git#egg=liberopy

Platform

API Packages

These webservices are provided to be used by third parties to design and write their own applications based on the Libero platform. (SOAP Protocol, Rev. 39)

Classes and Methods

  • Authenticate
    • Login
    • PatronLogin
    • Logout
  • CatalogueSearcher
    • Catalogue (Type=newitem)
    • Search
    • SearchCount
    • GetTitle (Deprecated)
    • GetRsnByRID
  • LibraryAPI
    • GetTitleDetails
    • GetItemDetails
    • GetMemberDetails
    • OrderStatus
    • OrderInformation
    • OrderLineInformation
    • Branch
  • OnlineCatalogue
    • GetItemByBarcode
    • GetALLItemsByRID
    • GetMABBlock
    • GetMARCBlock
  • OnlineILLService
    • GetMemberInformation

Usage Example

import liberopy
# Initialize client instance
libero = liberopy.WebServices("http://www.library.ACME.gov/libero", db="ACM")
# Retrieve items via barcode
item = libero.item("123456")
# Retrieve titles via RSN
title = libero.title("123456")
# Search for items by given term
result = libero.search("Harry Potter")
# Result count for given search term
result_count = libero.search_count("Harry Potter")
# Retrieve MAB data of titles via RID
mab = libero.mabblock("123456")
# Retrieve MARC data of titles via RID
marc = libero.marcblock("123456")
# Retrieve list of titles with new items
newlist = libero.newitems()
# Get RSN of title from the provided RID
rsn = libero.rid2rsn("123456")
# Get barcodes of items from the provided RID
bcs = libero.rid2bc("123456")
# Get information on member via member code
member = libero.memberinfo("10189")
# Log in before using methods of LibraryAPI
libero.login("GuestUser", "GuestPassword")
# Retrieve title details via RSN
titledetails = libero.titledetails("123456")
# Retrieve item details via barcode
itemdetails = libero.itemdetails("123456")
# Retrieve member details via member code (or ID of member)
memberdetails = libero.memberdetails(mc="10157")
# Retrieve header information for an order
orderinfo = libero.orderinfo("725")
# Retrieve the order’s line number information
orderlineinfo = libero.orderlineinfo("9", "1")
# Retrieve the current order status
orderstatus = libero.orderstatus("1", "1")
# Retrieve list of branches
branches = libero.branches()

Public Instances

According to the company’s website, the library management system Libero has more than 450 users worldwide. Some examples of users can be found in the following list whose links point to the WebOpac class. Each link is followed by the base URL (domain) of the instance which can be used to initialize a client.

cf. https://duckduckgo.com/?q=libero+webopac / https://www.google.com/search?q=libero+webopac

liberopy's People

Contributors

herreio avatar

Stargazers

 avatar

Watchers

 avatar

liberopy's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.