A python wrapper to the Sermon Audio API.
Project description
# Sermon Audio API
Sermon Audio API is a python wrapper for the APIs of ([http://www.sermonaudio.com/api](http://www.sermonaudio.com/api))
## Install
pip install sermon-audio
## Usage
#### Get Speakers By Member Id
from sermonaudio import SermonAudioAPI
speakers = SermonAudioAPI.get_speakers_by_member_id(member_id=’communitybapt’)
print speakers
#### Get Sermon List
from sermonaudio 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’)
print sermons
#### Get Sermon Info
from sermonaudio import SermonAudioAPI
api = SermonAudioAPI(‘username’, ‘password’)
sermon = api.get_sermon_info(sermon_id=’328131022290’)
print sermon
#### Newest Sermons By Speaker
from sermonaudio import SermonAudioAPI
sermons = SermonAudioAPI.newest_sermons_by_speaker(speaker=’David Whitcomb’)
print sermons
#### Newest Sermons By Member Id
from sermonaudio import SermonAudioAPI
sermons = SermonAudioAPI.newest_sermons_by_member_id(member_id=’communitybapt’)
print sermons
#### Get Event Types
from sermonaudio import SermonAudioAPI
event_types = SermonAudioAPI.get_event_types()
print event_types
#### Get Languages
from sermonaudio import SermonAudioAPI
languages = SermonAudioAPI.get_languages()
print languages
#### Get Newest Series By Member Id
from sermonaudio import SermonAudioAPI
series = SermonAudioAPI.get_newest_series_by_member_id(member_id=’communitybapt’)
print series
#### Get Series By Member Id
from sermonaudio import SermonAudioAPI
series = SermonAudioAPI.get_series_by_member_id(member_id=’communitybapt’)
print series
#### Get Speakers By Keyword
from sermonaudio import SermonAudioAPI
speakers = SermonAudioAPI.get_speakers_by_keyword(keyword=’love’)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sermon-audio-0.0.8.tar.gz
.
File metadata
- Download URL: sermon-audio-0.0.8.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 585ba5067ab34ea9bc1e1c2ea4603310446ba1507c5730233f6755613a24be30 |
|
MD5 | 38ca8b9cbf2f350084e5e46da5f15843 |
|
BLAKE2b-256 | dd28d3cc8d8b6ce529e4e9ac0bd93e752974dcd6474761297607f915f4909283 |