Skip to main content

A python wrapper for the Buzzsprout API

Project description

Buzzsprout-Manager

Summary

Buzzsprout Manager is a (somewhat) complete python wrapper for the Buzzsprout Podcast Hosting API. It currently supports most of the functionality of buzzsprout's web UI, including uploading/creating new episodes, retrieving information from existing episodes, as well as updating information or changing an episode's private status.

Getting Started

Installation

pip install buzzsprout-manager

Basic Usage

from bsm import Manager

ID = 'My Podcast ID'
TOKEN = 'My API Token'

manager = Manager(ID, TOKEN) # Init

episodes = manager.get_all_episodes() # Get all episodes as EpisodeGroup object

my_episode = episodes[0] # Get Episode object

print(my_episode.title) # "My Podcast Title"

manager.update_episode(     # Update given episode with kwarg attributes
    my_episode,
     **{'title': "Updated Title", 'description': "*descriptive text*"}
     ) 
manager.get_all_episodes()[0].title # "Updated Title"

bsm.Episode

ep = manager.get_all_episodes()[0]  # Manager returns a single bsm.Episode object

ep.title                            # 'The Podcast Title'

ep.get_date()                       # Returns the episode's published date as datetime.datetime object

ep.get_all_data()                   # Returns a {} of all episode attributes

ep.get_existing_data()              # Returns a {} of all episode attributes that aren't 'None'

The following members can be retrieved and/ or modified:

['id',
'title',
'audio_url',
'artwork_url',
'description',
'summary',
'artist',
'tags',
'published_at',
'duration',
'hq',
'magic_mastering',
'guid',
'inactive_at',
'episode_number',
'season_number',
'explicit',
'private',
'total_plays']

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

buzzsprout-manager-0.0.3.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

buzzsprout_manager-0.0.3-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file buzzsprout-manager-0.0.3.tar.gz.

File metadata

  • Download URL: buzzsprout-manager-0.0.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

File hashes

Hashes for buzzsprout-manager-0.0.3.tar.gz
Algorithm Hash digest
SHA256 685b3070323121c15f632cb24ff5d3c4054f06e8f46787cbed4fec4f8b164d51
MD5 c9fd8efe03b8440c8b1ac59053d39c54
BLAKE2b-256 c2ecfa14d8e700653804bf3b73467307bfe0398ba6f97815389560b5fb3b220b

See more details on using hashes here.

File details

Details for the file buzzsprout_manager-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: buzzsprout_manager-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

File hashes

Hashes for buzzsprout_manager-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8ae83973337992a2c8439632443fbdf1d2555227565f615f2a6fd87b93b6c118
MD5 a1d6f9aa1652005cc234a66658e6c0c6
BLAKE2b-256 3c3ba18525127661eee849879baa4e6aa96719784f479cc6553d7ff59a03fc10

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page