API for accessing the online Bible in the Reina Valera Revisada 1960 (RVR1960) version.
-
Clone the GitHub repository
git clone https://github.com/abrahamcalsin/sda-bible-api.git
- You can also clone the repository using the GitHub CLI
gh repo clone abrahamcalsin/sda-bible-api
-
Install the project dependencies via pnpm, npm, or yarn by running one of the following commands
# Using pnpm pnpm install # Using npm npm install # Using yarn yarn install
-
Start the server
pnpm exec vercel dev
The API has the following endpoints available:
Get all the books from the Bible.
-
Get all the chapters from a book of the Bible.
- Parameters:
Name Type Description :bookName
string Name of the book from the Bible (in Spanish). -
Get all the verses from a chapter of a book from the Bible.
- Parameters:
Name Type Description :bookName
string Name of the book from the Bible (in Spanish). :chapter
string Number of the chapter to retrieve.
You can change the structure of the JSON data in the API, and you can also deploy this API on your own server using platforms like Vercel.com, Railway.app, Render.com, etc.
This project is licensed under the GNU GPL License. See the LICENSE.md file for details.