![SampleTwo](https://user-images.githubusercontent.com/58665121/215287700-db1d5c57-1d2c-45e6-ba2a-93987faf361a.png)
A comprehensive library for querying bible content and getting cascading dropdowns for loading books of the bible, chapters and associated verses.
![MIT License](https://camo.githubusercontent.com/b59ba4ef5c86bc79e9e3e9039f1b96a4db59e7f96a7ba04abfc6548ae88c461b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)
stable release version: ![version](https://camo.githubusercontent.com/2f5c6b1a929e85c81165d025fbf2a9681bd3713baf35ee32380a8804c11d6977/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e312e312d626c7565)
Nuget package downloads: ![downloads](https://camo.githubusercontent.com/8e3aefbf47f1688c29f5ec5af95bbf7d44ea01c91239719e5d2cf147e6d68dbf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f776e6c6f6164732d3530302d627269676874677265656e)
- 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
.