I have great news! The application used to serve the getBible API and to render the Scripture received from the API are available to you for free. Yes, that means you can now start your own Bible API, on your own Joomla website.
There is more, this application can run in two ways. First it can place the Scriptures on your website and make use of the getBible API which means no extra load on your server. Secondly you can install the versions/translations you would like and run the application locally, independently from the getBible API. This in affect will make your website a Bible API on its own, with the option to lock access to your API if needed.
I am working hard to improve this application to eventually include dictionaries, commentaries, devotionals, allow bookmarks, and much more. What we have today is the start of what we hope will be a great blessing to many
The API render the scripture in JSON, in many different translation/languages.
Getting a JSON response from the set url "http://getbible.net/json?" with a simple query string "p=Jn3:16" forms the base of the API.
There are just two parameters available, both are self-explanatory, passage and version.
Yet you can also use v, ver, lang and translation in place of version and p, text, scrip and scripture in place of passage.
You can call a book, chapter or a single verse, or even a string of verses. When the Version is omitted the KJV is provided by default.
The following are all valid:
- http://getbible.net/json?scrip=Acts 3:17-4;2:1
- http://getbible.net/json?scripture=Psa 119:4-16;23:1-6&v=amp
- http://getbible.net/json?passage=Acts 15:1-5, 10, 15&version=aov
Here is a jQuery script to make an API call from your own application
Most of the translations are provided by The Unbound Bible. The code that should be passed as the version parameter is shown in brackets.
Get Bible is offline, so we can't check what versions is available at this time.
Please note that version that are currently in copyright (e.g. NIV, NKJV, etc.) cannot be added unless you are able to secure copyright permission.