Created
February 7, 2014 03:18
-
-
Save npardington/8856935 to your computer and use it in GitHub Desktop.
Sermon Audio API Python Wrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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