BibleSDK 1.2.0
See the version list below for details.
dotnet add package BibleSDK --version 1.2.0
NuGet\Install-Package BibleSDK -Version 1.2.0
<PackageReference Include="BibleSDK" Version="1.2.0" />
paket add BibleSDK --version 1.2.0
#r "nuget: BibleSDK, 1.2.0"
// Install BibleSDK as a Cake Addin #addin nuget:?package=BibleSDK&version=1.2.0 // Install BibleSDK as a Cake Tool #tool nuget:?package=BibleSDK&version=1.2.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(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 | 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.