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.0.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.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybuzzsprout-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 492bee0f4bde33fe97d862469867fd094673eca7ebfce9c3f5b14c5cda3ad884
MD5 d1e081293a13ed417a6118202c2bad0d
BLAKE2b-256 5875bffcb282b5a22e6bc5ca417f286ad31bf73a210b9532cc8466c31a46ab30

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybuzzsprout-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: pybuzzsprout-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7804bd730c7f65121f23d0c36ddf29653a2daf005d9fbb885ebc6a855f8c8d83
MD5 bb8600750d7d8355b34fd6869d2abbff
BLAKE2b-256 b863f55df6e3b3eaf270f135ce9891c9c9cda13740dcd133f06ae579bcf17063

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybuzzsprout-0.1.0-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