A comprehensive library for querying bible content and getting cascading dropdowns for loading books of the bible, chapters and associated verses.
stable release version:
Nuget package downloads:
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:
Get chapters in the Book Of a bible
await BibleService . GetChaptersInABookOfTheBible ( bookName ) ;
Parameter
Type
Description
bookName
string
Required . The name of the book of the bible e.g genesis
Type
Task<ChaptersResponse?>
Generate a random bible verse
await BibleService . GenerateRandomBibleVerse ( ) ;
Type
Task<BibleVerseResponse?>
Get all books of the bible
await BibleService . GetAllBooksOfTheBible ( ) ;
Get all verses and verses dropdown in a chapter of the bible
await BibleService . GetAllVersesInAChapterOFTheBible ( request ) ;
Parameter
Type
request
GetBibleVerseRequest
Type
Task<VersesResponse?>
await BibleService . GetBookOfTheBible ( bookName ) ;
Parameter
Type
Description
bookName
string
Required . The name of the book of the bible e.g genesis
await BibleService . GetBibleVerse ( request ) ;
Parameter
Type
request
GetBibleVerseRequest
Type
Task<BibleVerseResponse?>
await BibleService . SearchBible ( query ) ;
Parameter
Type
Description
query
string
Required . Query param for the search
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
.