GithubHelp home page GithubHelp logo

braydentw / book-of-mormon-api Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 2.0 477 KB

The ultimate Book of Mormon API. Built with Node and Express.

Home Page: https://book-of-mormon-api.vercel.app

JavaScript 100.00%
book-of-mormon lds churchofjesuschrist api node express javascript

book-of-mormon-api's Introduction

Book of Mormon API

The ultimate Book of Mormon API. Built with Node and Express.

โžก https://book-of-mormon-api.vercel.app/


Routes

/random: Returns a random verse from and book or chapter.

/random/:book: Returns a random verse from the requested book (guidelines)

/random/:book/:chapter: Returns a random verse from the requested book and chapter.

/:book/:chapter/:verse: Returns the verse based off the scripture reference passed in the URL.

Below is the output structure for a verse.

{
  "reference": "1 Nephi 1:1",
  "text": "I, Nephi, having been born of goodly parents, therefore I was taught somewhat in all the learning of my father; and having seen many afflictions in the course of my days, nevertheless, having been highly favored of the Lord in all my days; yea, having had a great knowledge of the goodness and the mysteries of God, therefore I make a record of my proceedings in my days.",
  "verse": 1
}

Naming guidelines for books

When passing a value into the book parameter, follow the guidelines below:

1st Nephi = "1nephi"
2nd Nephi = "2nephi"
Jacob = "jacob"
Enos = "enos"
Jarom = "jarom"
Omni = "omni"
Words of Mormon = "wordsofmormon"
Mosiah = "mosiah"
Alma = "alma"
Heleman = "helaman"
3rd Nephi = "3nephi"
4th Nephi = "4nephi"
Mormon = "mormon"
Ether = "ether"
Moroni = "moroni"

What is The Book of Mormon?

The Book of Mormon is another testament of Jesus Christ. It contains teachings from followers of Jesus. Learn more about it here.


Created by @BraydenTW.

book-of-mormon-api's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.