BibleSDK 1.2.1

dotnet add package BibleSDK --version 1.2.1                
NuGet\Install-Package BibleSDK -Version 1.2.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BibleSDK" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BibleSDK --version 1.2.1                
#r "nuget: BibleSDK, 1.2.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BibleSDK as a Cake Addin
#addin nuget:?package=BibleSDK&version=1.2.1

// Install BibleSDK as a Cake Tool
#tool nuget:?package=BibleSDK&version=1.2.1                

Bible SDK Documentation

Information

There are over 400,000 verses available across 15 different translations.
Different translations:
  • King James Version (KJV)
  • New International Version (NIV)
  • New Revised Standard Version, Anglicised (NRSVA)
  • New American Bible (NABRE)
  • The Living Bible (TLB)
  • New King James Version (NKJV)
  • Christian Standard Bible (CSB)
  • New International Reader's Version (NIRV)
  • The Message (MSG)
  • New American Standard Bible (NASB)
  • English Standard Version (ESV)
  • Amplified Bible (AMP)
  • International Standard Version (ISV)
  • New Life Version (NLV)
  • New Living Translation (NLT)
Red text, footnotes, and cross-references are NOT available.

Usages

Retrieve a verse according to the ID in the Database.

Verse verse = SdkHandler.GetVerse(1);
TextVerse verse = SdkHandler.GetVerse(1, Versions.NIV);

Retrieve a verse according to a reference.

Verse verse = SdkHandler.GetVerse(Books.John, 3, 16);
TextVerse verse = SdkHandler.GetVerse(Books.John, 3, 16, Versions.NIV);

Retrieve a collection of verses according to a chapter.

VerseCollection verses = SdkHandler.GetChapter(Books.John, 3);
TextVerseCollection verses = SdkHandler.GetChapter(Books.John, 3, Versions.NIV);

Retireve a collection of verses according to a chapter of the id of the verse provided.

VerseCollection verses = SdkHandler.GetChapterById(1000);
TextVerseCollection verses = SdkHandler.GetChapterById(1000, Versions.NIV);

Retrieve a random verse of the entire Bible.

Verse verse = SdkHandler.GetRandomVerse();
TextVerse verse = SdkHandler.GetRandomVerse(Versions.NIV);

Retrieve a random verse of a specific book of the Bible.

Verse verse = SdkHandler.GetRandomVerse(Books.Genesis);
TextVerse verse = SdkHandler.GetRandomVerse(Books.Genesis, Versions.NIV);

Retrieve a random chapter of the entire Bible.

Verse verse = SdkHandler.GetRandomChapter();
TextVerse verse = SdkHandler.GetRandomChapter(Versions.NIV);

Retrieve a random chapter of a specific book of the Bible.

Verse verse = SdkHandler.GetRandomChapter(Books.Genesis);
TextVerse verse = SdkHandler.GetRandomChapter(Books.Genesis, Versions.NIV);

All methods are awaitable if the Async version is used. Below is an example.

Verse verse = await SdkHandler.GetVerseAsync(Books.John, 3, 16);
TextVerse verse = await SdkHandler.GetVerseAsync(Books.John, 3, 16, Versions.NIV);

There's not much else to say. Be sure to use this database kindly and to not misuse it.

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.1 472 7/21/2022
1.2.0 403 7/21/2022
1.1.0.1 410 7/20/2022
1.1.0 400 7/20/2022
1.0.0 424 7/19/2022