BibleSDK 1.1.0
See the version list below for details.
dotnet add package BibleSDK --version 1.1.0
NuGet\Install-Package BibleSDK -Version 1.1.0
<PackageReference Include="BibleSDK" Version="1.1.0" />
paket add BibleSDK --version 1.1.0
#r "nuget: BibleSDK, 1.1.0"
// 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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
- Microsoft.Extensions.Configuration.Json (>= 6.0.0)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.