can a scripture verse be retrieved and displayed programmatically?

davidkimbler
New Member
Posts: 1
Joined: Sun Jul 24, 2016 4:43 pm

can a scripture verse be retrieved and displayed programmatically?

Postby davidkimbler » Sun Jul 24, 2016 4:52 pm

I was wondering if a scripture verse can be retrieved and displayed by a reference message for retrieval. I have an app that I would like to develop that is linked to keywords of the verses which I have memorized. The personal list of my indexed words is close to 500. These then are associated with the verses I have memorized. I can create the list of indexed words, and have a random number generator select a keyword from my list and their associated chapters and verses. What I need is to send a reference of that particular scripture into the scripture database and either retrieve or display the verse so that it can be viewed as I recite the verse(s).

Is this possible with the current tools for the scriptures?

Thanks.

Bishop Dave Kimbler

liz_monty2
New Member
Posts: 4
Joined: Thu Mar 02, 2017 7:28 pm

Re: can a scripture verse be retrieved and displayed programmatically?

Postby liz_monty2 » Fri Jul 28, 2017 9:22 pm

I'm not sure if this is what you're looking for, but you can get a JSON file (or other data types) of the entire Standard Works at http://scriptures.nephi.org/ in the Downloads section of that page. I used the JSON files from https://github.com/bcbooks/scriptures-json when I was building my website https://randomscriptureverse.com/, but I wish I had know then about the JSON file with ALL the Standard Works in it, instead of separate JSON files for each Standard Work. The JSON file has tons of info in it, but I think the most relevant properties in your case are the very last ones, which are "scripture_text", "verse_title", and maybe "verse_short_title":

"scripture_text":"IN the beginning God created the heaven and the earth.","verse_title":"Genesis 1:1","verse_short_title":"Gen. 1:1"

With that, you should easily be able to search the file for the reference and then retrieve the actual verse text.

Hope that helps!

Liz Kazandzhy


Return to “Mobile Applications”

Who is online

Users browsing this forum: No registered users and 2 guests