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.
Note: This is an Alpha release. APIs may change.
Important: Browser Requirement
ClubClientuses 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adventuresinodyssey-0.1.6.tar.gz.
File metadata
- Download URL: adventuresinodyssey-0.1.6.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
501f1383108926f1a85624fa252c4eea71181c40c67dca971f42c837bd35f924
|
|
| MD5 |
4f016242670e098c456bf032130d8edb
|
|
| BLAKE2b-256 |
79f9b2765801386e55152e1951e3c78f1efcec900dd38a963758f1390af53eac
|
File details
Details for the file adventuresinodyssey-0.1.6-py3-none-any.whl.
File metadata
- Download URL: adventuresinodyssey-0.1.6-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4fa9112f7bccfdd0571c5c8fb4c4dd4c64b846b739d5a05087e05ccbe7674fb
|
|
| MD5 |
8fa8f9a8cceaed9fa6faf5ac09c9e484
|
|
| BLAKE2b-256 |
53b776b216cb51b24ac3cbe1d413bd40a8927ec874c99a49ffef9274d96eede5
|