Skip to content

Instantly share code, notes, and snippets.

@npardington
Created February 7, 2014 03:18
Show Gist options
  • Save npardington/8856935 to your computer and use it in GitHub Desktop.
Save npardington/8856935 to your computer and use it in GitHub Desktop.
Sermon Audio API Python Wrapper
import SermonAudioAPI
api = SermonAudioAPI('username', 'password')
# There are only a few categories you can search for:
# speaker
# eventtype
# series
# year
sermons = api.get_sermon_list(category='year', search_term='2013')
sermon = api.get_sermon_info(sermon_id='328131022290')
sermons = SermonAudioAPI.newest_sermons_by_speaker(speaker='David Whitcomb')
sermons = SermonAudioAPI.newest_sermons_by_member_id(member_id='communitybapt')
event_types = SermonAudioAPI.get_event_types()
languages = SermonAudioAPI.get_languages()
series = SermonAudioAPI.get_newest_series_by_member_id(member_id='communitybapt')
series = SermonAudioAPI.get_series_by_member_id(member_id='communitybapt')
speakers = SermonAudioAPI.get_speakers_by_member_id(member_id='communitybapt')
speakers = SermonAudioAPI.get_speakers_by_keyword(keyword='love')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment