Welcome to the Pocket Casts Python Client! This guide provides a quick start and navigation to detailed usage for each API area.
import os
from api_pocketcasts.client import PocketCastsClient
client = PocketCastsClient()
user = client.login_pocket_casts(os.environ["POCKETCASTS_EMAIL"], os.environ["POCKETCASTS_PASSWORD"])
print(f"Logged in as: {user.email}, token: {user.access_token}")- Authentication: Logging in, token refresh, and authentication errors
- Podcast Subscription Management: Subscribing, unsubscribing, and listing podcasts
- User Episodes: Fetching user-specific episode details
- Podcast Metadata & Show Notes: Fetching full podcast details and show notes
- Up Next Queue: Fetching and managing the Up Next queue
- Error Handling: Exception structure and error handling patterns
See each section for detailed examples and error handling for that area.