Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 579 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 579 Bytes

BiblioSheet

A library to get scripture citations

To use, create a new instance of the class BiblioSheet

 var n = new BiblioSheet()

Call the method

 n.getScripture()

This method carries an object as parameter

The object parameter has this format

{'book' : 'Hebrews', 'chapter': "11", "verse" : "1"}

To get a random citation, set the book key to random

Returns an object response in the format

{
  "book" : "Genesis",
  "chapter" : "1",
  "verse" : "1",
  "text" : "In the beginning God created the heaven and the earth."
}