BibleSDK 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BibleSDK --version 1.1.0                
NuGet\Install-Package BibleSDK -Version 1.1.0                
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.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BibleSDK --version 1.1.0                
#r "nuget: BibleSDK, 1.1.0"                
#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.1.0

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

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(10);
Verse verse = await SdkHandler.GetVerseAsync(10);

Retrieve a verse according to the Book, Chapter, and Verse Number.

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

Retrieve all verses in a specific chapter.

VerseCollection verses = SdkHandler.GetChapter(Books.John, 3);
VerseCollection verses = SdkHandler.GetChapter(Books.John, 3, Versions.NIRV);
VerseCollection verses = await SdkHandler.GetChapterAsync(Books.John, 3, Versions.NIRV);

Miscellaneous retrievals.

VerseCollection verses = SdkHandler.GetVersesContainingText("VERSE_SUBSTRING_CASE_INSENSITIVE_TEXT_HERE");

You can get specific text from a version with the following.

string specificKingJamesText = verse[0]; // KJV is indexed at 0
string specificKingJamesText = verse[Versions.KJV];

You can also make live easier with the Simplify() method. This will convert the Verse to a TextVerse, only allowing access to one specific version of the verse.

TextVerse text = verse.Simplify(Versions.KJV);
TextVerse text = new TextVerse(verse, Versions.KJV);

string myKingJamesText = text.Text;
Versions myTranslation = text.Translation;

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