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.1.tar.gz (18.1 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.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybuzzsprout-0.1.1.tar.gz
  • Upload date:
  • Size: 18.1 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.1.tar.gz
Algorithm Hash digest
SHA256 73e002c0ac2aa5c59fcfcb7ed7ea1e561ea954d3567b26132d50b72adaadc20e
MD5 74a6333199e94f4dcca7ec5d58b13cad
BLAKE2b-256 93ca088485eebc806ac7fd5e56e0dc831fc3088de6af01ab22d4e8cf72bc2175

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pybuzzsprout-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e18e0a9e1ed7331b953c59b9d93cdee6da2b021270fc6151a3732909342d9dba
MD5 6be22c4b4de8cace0029e778241f2d2c
BLAKE2b-256 e31b2582d13d92da0fbf00939fe3fc6903f3d54d9ec5419f69d3fa2b2127ffa9

See more details on using hashes here.

Provenance

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