$ pip install hoerapi
Use python3.
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ pip install -e .
$ py.test
import hoerapi;
data = hoerapi.get_podcast_data('wrint')
print(data.cluster) # 'berlin'$ python setup.py sdist bdist_dumb upload
- status()- returns Trueif the API seems to be up, otherwiseFalse
 
- returns 
- get_deleted(dateStart=None, dateEnd=None)- https://github.com/hoersuppe/doc#getdeleted
- returns: an instance of DeleteEntry
 
- get_podcast_data(podcast)- https://github.com/hoersuppe/doc#getpodcastdata
- returns: an instance of PodcastData
 
- get_podcast_episodes(podcast, count=5)- https://github.com/hoersuppe/doc#getpodcastepisodes
- returns: an array of PodcastEpisode
 
- get_podcast_live(podcast, count=5)- https://github.com/hoersuppe/doc#getpodcastlive
- returns: an array of PodcastLive
 
- get_live_by_id(id)- https://github.com/hoersuppe/doc#getlivebyid
- returns: an instance of PodcastLive
 
- get_live(count=5, dateStart=None, dateEnd=None)- https://github.com/hoersuppe/doc#getlive
- returns: an array of PodcastLive
 
- get_podcasts()- https://github.com/hoersuppe/doc#getpodcasts
- returns: an array of Podcast
 
todo
- general
- All date-attributes are converted to datetimeinstances
- All number-strings are converted to numbers
- idis always lowercase.
 
- All date-attributes are converted to 
- DeleteEntry: https://github.com/hoersuppe/doc#getdeleted
- PodcastData: https://github.com/hoersuppe/doc#getpodcastdata- boolean: obsolete,freeze,feature
- contactis a- PodcastDataContactinstance
 
- boolean: 
- PodcastDataContact: contact section of a- PodcastData- all of the attributes may be Noneif there is not data
 
- all of the attributes may be 
- PodcastEpisode: https://github.com/hoersuppe/doc#getpodcastepisodes- post_-prefix has been removed
 
- PodcastLive: https://github.com/hoersuppe/doc#getlive- boolean: synced,twittered
 
- boolean: 
- Podcast: https://github.com/hoersuppe/doc#getpodcasts