No commit activity in last 3 years
No release in over 3 years
A Ruby client for http://www.digitalbibleplatform.com/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
>= 0

Runtime

>= 0
~> 0.2.4
>= 0
~> 0.6.8
 Project Readme

DigitalBiblePlatform

A ruby wrapper for the Digital Bible Platform

Installation

Add this line to your application's Gemfile:

gem 'digital_bible_platform'

And then execute:

$ bundle

Or install it yourself as:

$ gem install digital_bible_platform

Usage

Get an API Key

Initialize a Client

You can set optional defaults for language, version, and media. See details here.

@client = DigitalBiblePlatform::Client.new(<your-api-key>)

Get a list of the books of the Bible

You will need the short_code (dam_id)

books = @client.books

Get the media link for a book of the bible

books = @client.url_for('2Tim', 4)

Contributing

  1. Fork it ( http://github.com//digital_bible_platform/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request