Search found 3 matches

by donjuanica
Sat Oct 10, 2015 1:05 pm
Forum: Mobile Development
Topic: Book of Mormon API
Replies: 7
Views: 5914

Re: Book of Mormon API

I added the ability to specify ranges of verses:

/v1/verses/Moroni/10/3/5 would give you Moroni 10:3-5

So instead of passing a range as the final path param, you add an additional path param to define the range:

/v1/verses/:book/:chapter/:start_verse/:end_verse

HTH
by donjuanica
Sat Oct 10, 2015 12:33 pm
Forum: Mobile Development
Topic: Book of Mormon API
Replies: 7
Views: 5914

Re: Book of Mormon API

You can get multiple verses by leaving off the last segment of the API path. Right now the API limits to returning a max of 10 verses, but I may remove that restriction at some point. To get up to 10 verses from Moroni 10 you would use: /v1/verses/Moroni/10 To get the first 10 verses of Moroni You w...
by donjuanica
Tue Oct 06, 2015 11:12 pm
Forum: Mobile Development
Topic: Book of Mormon API
Replies: 7
Views: 5914

Book of Mormon API

I thought I'd share this with the group. I've seen a lot of posts about an open BoM API for use in web/mobile apps. I put together a quick NodeJS + Express + MongoDB API that will give you access to the BoM verses. I imported the data from the Book of Mormon found in the Gutenberg Library. For now t...

Go to advanced search