Python client for Buzzsprout API
Project description
buzzsprout-client
Python client for Buzzsprout API
Installation
pip install buzzsprout-client
Usage
from buzzsprout_client import BuzzsproutClient
# Initialize client with your API key
client = BuzzsproutClient(api_key="your_api_key_here")
# Get all podcasts
podcasts = client.get_podcasts()
# Get a specific podcast
podcast = client.get_podcast(podcast_id=12345)
# Get all episodes for a podcast
episodes = client.get_episodes(podcast_id=12345)
# Get a specific episode
episode = client.get_episode(podcast_id=12345, episode_id=67890)
# Create a new episode
new_episode = client.create_episode(
podcast_id=12345,
title="My New Episode",
audio_file="path/to/audio.mp3",
description="This is my new episode",
private=True
)
# Update an existing episode
updated_episode = client.update_episode(
podcast_id=12345,
episode_id=67890,
title="Updated Episode Title",
private=False,
audio_url="https://example.com/new-audio.mp3"
)
# Update episode with file uploads
updated_episode = client.update_episode(
podcast_id=12345,
episode_id=67890,
title="Updated Episode Title",
private=False,
audio_file="path/to/new-audio.mp3",
artwork_file="path/to/new-artwork.jpg"
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file buzzsprout_client-0.2.0.tar.gz.
File metadata
- Download URL: buzzsprout_client-0.2.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.0 CPython/3.12.1 Linux/6.8.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8e4d4b0812c9f49915a2c114b7d24b715cd033fab20e2af173be63e1b90211d
|
|
| MD5 |
58ff4830843068346d93285f0bf5f89f
|
|
| BLAKE2b-256 |
40cfae512b8060e54c3489709562b6e066ec91b2ce9cc93893257a210e7547c1
|
File details
Details for the file buzzsprout_client-0.2.0-py3-none-any.whl.
File metadata
- Download URL: buzzsprout_client-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.0 CPython/3.12.1 Linux/6.8.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f29e2a4cb8fe93b12cf1f55787363c12d07ef8859b08f1b728a4e789db4efe8
|
|
| MD5 |
2c5022615e4556ed47b9021230f79420
|
|
| BLAKE2b-256 |
8c01921fb4b76f71da5f8356623740177711bdfa4db4623285f053c697d9ebcd
|