Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

king-Alex-d-great/BibleIndexer-Archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SampleTwo

Bible Indexer

A comprehensive library for querying bible content and getting cascading dropdowns for loading books of the bible, chapters and associated verses. This is an old version.

Check out latest version of this project here

Author

Badges

MIT License InstallmentCop

Features

  • 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)

Tech Stack

C#, .Net6.0, .NetStandard2.1,

How Do I Get Started

First, install NuGet. Then, install BibleIndexer from the package manager console:

   NuGet\Install-Package BibleIndexer.Query -Version 1.0.0

Or from the .NET CLI as:

   dotnet add package BibleIndexer.Query --version 1.0.0

Finally, import into the file:

   using BibleIndexer;

Doc Reference

Get chapters in the Book Of a bible

  • 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?>

Generate a random bible verse

  • Sample Usage
   await BibleService.GenerateRandomBibleVerse();
  • Output
Type
Task<BibleVerseResponse?>

Get all books of the bible

  • Sample Usage
   await BibleService.GetAllBooksOfTheBible();
  • Output
Type
Task<object>

Get all verses and verses dropdown in a chapter of the bible

  • Sample Usage
   await BibleService.GetAllVersesInAChapterOFTheBible(request);
  • Input
Parameter Type
request GetBibleVerseRequest
  • Output
Type
Task<VersesResponse?>

Get a book of the bible

  • 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?>

Get a bible verse

  • Sample Usage
   await BibleService.GetBibleVerse(request);
  • Input
Parameter Type
request GetBibleVerseRequest
  • Output
Type
Task<BibleVerseResponse?>

Search the bible

  • Sample Usage
   await BibleService.SearchBible(query);
  • Input
Parameter Type Description
query string Required. Query param for the search
  • Output
Type
Task<IEnumerable<BibleVerseResponse>>

Roadmap

  • Robust ReadMe

  • AI integration

  • Additional features

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

About

A comprehensive library for querying bible content and getting cascading dropdowns for loading books of the bible, chapters and associated verses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages