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))

Quick Start
=========

1. Install::

pip install sermon-audio

2. Usage::

# 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

import SermonAudioAPI

api = SermonAudioAPI('username', 'password')

sermon = api.get_sermon_info(sermon_id='328131022290')

print sermon

# Newest Sermons By Speaker

import SermonAudioAPI

sermons = SermonAudioAPI.newest_sermons_by_speaker(speaker='David Whitcomb')

print sermons

# Newest Sermons By Member Id

import SermonAudioAPI

sermons = SermonAudioAPI.newest_sermons_by_member_id(member_id='communitybapt')

print sermons

# Get Event Types

import SermonAudioAPI

event_types = SermonAudioAPI.get_event_types()

print event_types

# Get Languages

import SermonAudioAPI

languages = SermonAudioAPI.get_languages()

print languages

# Get Newest Series By Member Id

import SermonAudioAPI

series = SermonAudioAPI.get_newest_series_by_member_id(member_id='communitybapt')

print series

# Get Series By Member Id

import SermonAudioAPI

series = SermonAudioAPI.get_series_by_member_id(member_id='communitybapt')

print series

# Get Speakers By Member Id

import SermonAudioAPI

speakers = SermonAudioAPI.get_speakers_by_member_id(member_id='communitybapt')

print speakers

# Get Speakers By Keyword

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.7.tar.gz (4.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for sermon-audio-0.0.7.tar.gz
Algorithm Hash digest
SHA256 5b694664c75deab83cf475c228c043c61402fea03410f0c1622dd91489e4c607
MD5 bf19dc09f79f64cf2d8dace17fb4f57c
BLAKE2b-256 5036515a15b133c401f09f8922b941c6c72cadb91c9d88aa4ae27803cca9f8b7

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