1.0.3 • Published 6 years ago

@justindfuller/verse-of-the-day v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

Verse-Of-The-Day-Server

Codeship Status for JustinDFuller/Verse-Of-The-Day-Server Coverage Status

Backend micro service for displaying a Bible verse of the day.

API

/echo

  • Method: ANY
  • Returns: Object with success set to true and a message letting you know you've successfully pinged the server. This is used to verify the service is up and running correctly.

/dailyVerse/?:bibleVersion

  • Method: GET
  • Returns: Array with three Verse objects. A random, Psalm, and Proverb.
  • If you choose to add :bibleVersion like /eng-ESV it will return that translation. This is optional.

/proverb/?:bibleVersion

  • Method: GET
  • Returns: Object with a Proverb Verse object.
  • If you choose to add :bibleVersion like /eng-ESV it will return that translation. This is optional.

/psalm/?:bibleVersion

  • Method: GET
  • Returns: Object with a Psalm Verse object.
  • If you choose to add :bibleVersion like /eng-ESV it will return that translation. This is optional.

/random/?:bibleVersion

  • Method: GET
  • Returns: Object with a random book/chapter/verse Verse object.
  • If you choose to add :bibleVersion like /eng-ESV it will return that translation. This is optional.

/versions

  • Method: GET
  • Returns: Array containing Objects representing the different translations available.