Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

YouVersion API Client

Project description

Known Vulnerabilities Codacy Badge Codacy Badge Build Status

YouVersion API Client

YouVersion Public API Client. This project has no affiliation with YouVersion or Life.Church.

Installation

pip install youversion

Usage

A YouVersion API Developer Token will be needed. Information about obtaining an API token can be found in the YouVersion API documentation

import youversion as yv
import webbrowser

YV_TOKEN = 'YouVersion API Developer Token'
YV_LANG = yv.Language.English

api = yv.API(YV_TOKEN, YV_LANG)

print(api.bible_versions)

# Sets the Bible version (defaults to KJV)
api.bible_version = 'KJV'

# Or use the BibleVersion object
api.bible_version = api.get_bible_version('ASV')

# Gets the current verse of the day
votd = api.get_verse_of_the_day()

# Print the verse of the day verse text
print(votd.verse.text)

# Downloads the verse of the day image
votd.image.download()

# Open the verse of the day square image in a browser
webbrowser.open_new_tab(votd.image.square_url(size=256))

Development

Information about how to get setup for development and contribution is coming soon.

Project details


Download files

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

Files for youversion, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size youversion-0.1.2.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page