Book of Mormon API
Posted: Wed Oct 07, 2015 12:12 am
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 this is running in RedHat openshift on the free tier. If it gets too much traffic I suppose they'll contact me and complain, but for now I'd appreciate any testing/feedback.
You can access the API at:
http://bomapi-happycloud.rhcloud.com/v1/verses
The root URL will return 100 verses from the BoM but you can specify any granularity you want (all other endpoints will return a max of 10 verses):
http://bomapi-happycloud.rhcloud.com/v1 ... ter/:verse
e.g.
http://bomapi-happycloud.rhcloud.com/v1/verses/Moroni
http://bomapi-happycloud.rhcloud.com/v1 ... /Moroni/10
http://bomapi-happycloud.rhcloud.com/v1 ... oroni/10/4
Have fun.
For now this is running in RedHat openshift on the free tier. If it gets too much traffic I suppose they'll contact me and complain, but for now I'd appreciate any testing/feedback.
You can access the API at:
http://bomapi-happycloud.rhcloud.com/v1/verses
The root URL will return 100 verses from the BoM but you can specify any granularity you want (all other endpoints will return a max of 10 verses):
http://bomapi-happycloud.rhcloud.com/v1 ... ter/:verse
e.g.
http://bomapi-happycloud.rhcloud.com/v1/verses/Moroni
http://bomapi-happycloud.rhcloud.com/v1 ... /Moroni/10
http://bomapi-happycloud.rhcloud.com/v1 ... oroni/10/4
Have fun.