A simple Bible API based on Bible API build using NestJs and host using render
Clone this repo and install this project with pnpm
cd my-project
pnpm iTo run this project, you will need to add the following environment variables to your .env file
BASE_URL : https://api.scripture.api.bible/v1
API_KEY : YOUR_API_KEY
REDIS_URL : YOUR_REDIS_URL
REDIS_CACHE_TTL : 3600
GET /bible| Query | Type | Description |
|---|---|---|
name |
string |
Required. Bible name search |
GET /bible/${bibleId}| Parameter | Type | Description |
|---|---|---|
bibleId |
string |
Required. Id of bible version |
GET /bible/${bibleId}/books| Parameter | Type | Description |
|---|---|---|
bibleId |
string |
Required. Id of bible version |
GET /bible/${bibleId}/books/${booksId}| Parameter | Type | Description |
|---|---|---|
bibleId |
string |
Required. Id of bible version |
booksId |
string |
Required. Id of selected books |
GET /bible/${bibleId}/books/${booksId}/chapters| Parameter | Type | Description |
|---|---|---|
bibleId |
string |
Required. Id of bible version |
booksId |
string |
Required. Id of selected books |
GET /bible/${bibleId}/chapters/${chapterId}| Parameter | Type | Description |
|---|---|---|
bibleId |
string |
Required. Id of bible version |
chapterId |
string |
Required. Id of selected chapter |
GET /bible/${bibleId}/chapters/${chapterId}/verses| Parameter | Type | Description |
|---|---|---|
bibleId |
string |
Required. Id of bible version |
chapterId |
string |
Required. Id of selected chapter |
GET /bible/${bibleId}/search| Query | Type | Description |
|---|---|---|
query |
string |
Required. query string of the search content |
Contributions are always welcome!