Skip to content

About

Overdrive Developer API wrapper

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

bookops-overdrive

An API wrapper for the Overdrive Discovery API.

Installation

pip install git+https://github.com/BookOps-CAT/bookops-overdrive.git

Basic Usage

with OverdriveSession(authorization=token) as session:
    response = session.get_library_account_info(library_id="1")
    print(response.json())
{
    "collectionToken": "",
    "enabledPlatforms": [
        "lightning",
        "libby",
    ],
    "formats": [
        {
            "id": "ebook-mediado",
            "name": "MediaDo eBook",
        },
        {
            "id": "ebook-kindle",
            "name": "Kindle Book",
        },
        {
            "id": "magazine-overdrive",
            "name": "OverDrive Magazine",
        },
        {
            "id": "ebook-overdrive",
            "name": "OverDrive Read",
        },
        {
            "id": "audiobook-overdrive",
            "name": "OverDrive Listen",
        },
    ],
    "id": 837,
    "links": {
        "dlrHomepage": {
            "href": "https://link.overdrive.com?websiteID=",
            "type": "text/html",
        },
        "lists": {
            "href": "https://api.overdrive.com/v1/libraries//lists",
            "type": "application/vnd.overdrive.api+json",
        },
        "products": {
            "href": "https://api.overdrive.com/v1/collections//products",
            "type": "application/vnd.overdrive.api+json",
        },
        "self": {
            "href": "https://api.overdrive.com/v1/libraries/",
            "type": "application/vnd.overdrive.api+json",
        },
    },
    "name": "New York Public Library (NY)",
    "type": "Library",
}

API Documentation

Client Authentication Discovery APIs

About

Overdrive Developer API wrapper

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages