Metadata-Version: 2.1
Name: buzzsprout-manager
Version: 0.0.3
Summary: A python wrapper for the Buzzsprout API
Home-page: https://github.com/deancolten/buzzsprout-manager
Author: Colten Dean
Author-email: coltenrdean@gmail.com
License: UNKNOWN
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
        ```python
        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
        ```python
        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:
        ```python
        ['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']
        
        ``` 
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
