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-id 140447

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

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

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

# JSON output for scripting / agents
buzzsprout episodes list --podcast-id 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.2.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.2.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybuzzsprout-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 625f416b2bfc353907aca1bf57a4aef084ae04367abcfd11831396c8f0f3f2af
MD5 2208582382482b0eda448f11ee928b87
BLAKE2b-256 7f2eb703f93d25bae4b51f1a8f47d7ad8b35fb6d2566de03a4819b3c53fb7c3d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pybuzzsprout-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfbddd215f48b1f4b9bf7454db3120e282f78f199de63746865a15079f8c60c0
MD5 777a83d93e982686dcff780653371639
BLAKE2b-256 9f72fea05261cee3f86d88542d5f4351d1a5dcb5fdbfbea6ff40cb1cf501f7b2

See more details on using hashes here.

Provenance

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