Skip to main content

Python API clients for Adventures in Odyssey.

Project description

Unofficial Python API clients for the Adventures in Odyssey Club and website. This library allows you to interact with AIO content, including retrieving metadata for albums and episodes.

Documentation

Github

Important: Browser Requirement

ClubClient uses Playwright for authentication. 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.2.4.tar.gz (38.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.2.4-py3-none-any.whl (41.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: adventuresinodyssey-0.2.4.tar.gz
  • Upload date:
  • Size: 38.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.2.4.tar.gz
Algorithm Hash digest
SHA256 082e5f3706babc4305e2c112797826e18885f55efccf35d9d16f5f0f28f616b0
MD5 be565be8589b3b5847e568cc1ba96dbe
BLAKE2b-256 f47a445a0f49e887b922373cb721ab802d753a52382b18d88ae04946d62df32c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adventuresinodyssey-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 322a4d1c839f92c0d36a845c30301dbd39b7be1b0f151ffa55497f567a06cf49
MD5 a9536ef598d5ed6e9e9c0142671da954
BLAKE2b-256 80193b7a15a20d71bf3df4ed79b3cb4b1f6039e07535d2674ec6833f5715aa2a

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