Skip to main content

Python API client for the Adventures in Odyssey Club and public endpoints.

Project description

An unofficial Python API client for the Adventures in Odyssey Club and public endpoints. This library allows you to interact with AIO content, including retrieving metadata for albums and episodes.

Note: This is an Alpha release. APIs may change.

Documentation

Github

Important: Browser Requirement

This library uses Playwright for authentication. After installing the package, you must install the required browser binaries (Chromium):

playwright install chromium

Example Program

import random
from adventuresinodyssey import AIOClient

client = AIOClient()
link_base = "https://app.adventuresinodyssey.com/content/"

print("Caching episodes...")
all_episodes = client.cache_episodes()

if not all_episodes:
    print("Error: Failed to cache episodes.")
    exit()

# Pick a random episode
episode = random.choice(all_episodes)

print(f"Random episode: {episode.get('short_name')}")
print(f"Link: {link_base}{episode.get('id')}")

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

adventuresinodyssey-0.1.4.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

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

adventuresinodyssey-0.1.4-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file adventuresinodyssey-0.1.4.tar.gz.

File metadata

  • Download URL: adventuresinodyssey-0.1.4.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for adventuresinodyssey-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5e83edd3e57e3c58c0ab6e127cda6fc13f0d595f7cb1cc048ba8175360d40895
MD5 d6381bf51b44a982c9451bd39e03f09f
BLAKE2b-256 03edbe4fa48cbbd91960e732e91e8773cc6028c365d75c59f618d0a9cd85614b

See more details on using hashes here.

File details

Details for the file adventuresinodyssey-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for adventuresinodyssey-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 759e2466dd7be9355a2099583b63b5c2c1970e6d8357d549a80614e3e54cf1f3
MD5 cb8647c3408e5bdd21558e53dd87e85a
BLAKE2b-256 2e035681cd400c16a7d21c6913c6ae0118d09b469128c950d0d246e1dae4237b

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