Skip to main content

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

  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sermon-audio-0.0.8.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file sermon-audio-0.0.8.tar.gz.

File metadata

File hashes

Hashes for sermon-audio-0.0.8.tar.gz
Algorithm Hash digest
SHA256 585ba5067ab34ea9bc1e1c2ea4603310446ba1507c5730233f6755613a24be30
MD5 38ca8b9cbf2f350084e5e46da5f15843
BLAKE2b-256 dd28d3cc8d8b6ce529e4e9ac0bd93e752974dcd6474761297607f915f4909283

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page