Skip to main content

Python client library and CLI for the Buzzsprout podcast API

Project description

pybuzzsprout

A Python client library and CLI for the Buzzsprout podcast hosting API.

Install

pip install pybuzzsprout

Quick Start

Python Library

from pybuzzsprout import BuzzsproutClient

client = BuzzsproutClient(api_key="your-token")

# List your podcasts
podcasts = client.podcasts.list()
for p in podcasts:
    print(f"{p.id}: {p.title}")

# List episodes for a podcast
episodes = client.episodes.list(podcast_id=140447)

# Create an episode
episode = client.episodes.create(
    podcast_id=140447,
    title="My New Episode",
    audio_url="https://example.com/episode.mp3",
    private=True,
)

# Update an episode
client.episodes.update(
    podcast_id=140447,
    episode_id=episode.id,
    title="Better Title",
    private=False,
)

CLI

export BUZZSPROUT_API_KEY=your-token

# Discover your podcasts
buzzsprout podcasts list

# List episodes
buzzsprout episodes list --podcast 140447

# Get episode details
buzzsprout episodes get --podcast 140447 788881

# Create an episode
buzzsprout episodes create --podcast 140447 --title "My Episode" --audio-url https://example.com/audio.mp3 --private

# Update an episode
buzzsprout episodes update --podcast 140447 788881 --title "New Title" --public

# JSON output for scripting / agents
buzzsprout episodes list --podcast 140447 --json

Authentication

Get your API token from your Buzzsprout account settings.

Pass it directly:

client = BuzzsproutClient(api_key="your-token")

Or set the environment variable:

export BUZZSPROUT_API_KEY=your-token

License

MIT — Embersilk LLC

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

pybuzzsprout-0.1.2.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

pybuzzsprout-0.1.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file pybuzzsprout-0.1.2.tar.gz.

File metadata

  • Download URL: pybuzzsprout-0.1.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pybuzzsprout-0.1.2.tar.gz
Algorithm Hash digest
SHA256 98917f032940e44dcd5b6d33ca6eff44aefc7b398dcee6f494c4eb0ac893ca78
MD5 256e51bbe624994336d5f83cd98f9e8b
BLAKE2b-256 4b71e8f1839237b6adb8b0b1c8bb93010e6117894bdbe7ad8d2b360d39f7a1bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybuzzsprout-0.1.2.tar.gz:

Publisher: publish.yml on embersilk-labs/pybuzzsprout

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybuzzsprout-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pybuzzsprout-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pybuzzsprout-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b035b390a075926375fbf23e7913719948943dcd51e03b3b7ed324b25c5cae
MD5 af5546668b951e4962d908b23084a272
BLAKE2b-256 171d4a72759862df5a8ad1dd0acbd3b006e74d411ee690b6639822bf3e29985e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybuzzsprout-0.1.2-py3-none-any.whl:

Publisher: publish.yml on embersilk-labs/pybuzzsprout

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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