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.0.tar.gz (23.5 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.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: adventuresinodyssey-0.2.0.tar.gz
  • Upload date:
  • Size: 23.5 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.0.tar.gz
Algorithm Hash digest
SHA256 33a5f005a607c8587958e62b610faa4f27214d441e23e0e3a0cca366a7dc1aa4
MD5 213bf44509c7b7b9f5a706e9f0d7f62d
BLAKE2b-256 ad05886382af01cea83d6a8e04fe21d7faeba6b69a35f36e8046a6900c8abcdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adventuresinodyssey-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 563d58a35446039164e50f4a15ae1752c5e316b3a5787ab3b95bf29ad554f398
MD5 e599fc48d67a6b6b46b74061f2b539f1
BLAKE2b-256 3ce40299ea15c14d92def635da5ea8e790f99dca3ed8b82dee83b500c8eaf37e

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