A comprehensive library for querying bible content and getting cascading dropdowns for loading books of the bible, chapters and associated verses.
- Get a bible verse
- Get a book of the bible
- Get all verses in a chapter
- Generate a random bible verse
- Get all chapters in a book of the bible
- Get a list of all books and their abbreviations in the bible (For creating dropdowns)
- Get all verses where a specified query string occurs in the bible
- Get a list of numbers representing all chapters in a book of the bible (for creating dropdowns)
- Get a list of numbers representing all verses in a chapter (for creating dropdowns)
C#, .Net6.0, .NetStandard2.1,
First, install NuGet. Then, install BibleIndexer from the package manager console:
NuGet\Install-Package BibleIndexer.Query -Version 1.1.1
Or from the .NET CLI as:
dotnet add package BibleIndexer.Query --version 1.1.1
Finally, import into the file:
using BibleIndexerV2;
- Sample Usage:
await BibleService.GetChaptersInABookOfTheBible(bookName);
- Input
Parameter | Type | Description |
---|---|---|
bookName |
string |
Required. The name of the book of the bible e.g genesis |
- Output
Type |
---|
Task<ChaptersResponse?> |
- Sample Usage
await BibleService.GenerateRandomBibleVerse();
- Output
Type |
---|
Task<BibleVerseResponse?> |
- Sample Usage
await BibleService.GetAllBooksOfTheBible();
- Output
Type |
---|
Task<object> |
- Sample Usage
await BibleService.GetAllVersesInAChapterOFTheBible(request);
- Input
Parameter | Type |
---|---|
request |
GetBibleVerseRequest |
- Output
Type |
---|
Task<VersesResponse?> |
- Sample Usage
await BibleService.GetBookOfTheBible(bookName);
- Input
Parameter | Type | Description |
---|---|---|
bookName |
string |
Required. The name of the book of the bible e.g genesis |
- Output
Type |
---|
Task<BlobResponse?> |
- Sample Usage
await BibleService.GetBibleVerse(request);
- Input
Parameter | Type |
---|---|
request |
GetBibleVerseRequest |
- Output
Type |
---|
Task<BibleVerseResponse?> |
- Sample Usage
await BibleService.SearchBible(query);
- Input
Parameter | Type | Description |
---|---|---|
query |
string |
Required. Query param for the search |
- Output
Type |
---|
Task<IEnumerable<BibleVerseResponse>> |
-
Robust ReadMe
-
AI integration
-
Additional features
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code_of_conduct.md
.