BibleBooks.Core
2.0.0-dev.5
Requires NuGet 2.12 or higher.
dotnet add package BibleBooks.Core --version 2.0.0-dev.5
NuGet\Install-Package BibleBooks.Core -Version 2.0.0-dev.5
<PackageReference Include="BibleBooks.Core" Version="2.0.0-dev.5" />
paket add BibleBooks.Core --version 2.0.0-dev.5
#r "nuget: BibleBooks.Core, 2.0.0-dev.5"
// Install BibleBooks.Core as a Cake Addin #addin nuget:?package=BibleBooks.Core&version=2.0.0-dev.5&prerelease // Install BibleBooks.Core as a Cake Tool #tool nuget:?package=BibleBooks.Core&version=2.0.0-dev.5&prerelease
BibleBooks
A library to get info about bible books.
It supports Standard & Thompson abbreviations, OSIS & Paratext codes, max chapters, alternative names, and localized names.
Features
Supported bible book info:
- Book name
- Alternative book name
- OSIS code
- Paratext code
- Standard abbreviation
- Thompson abbreviation
- Max chapter
Supported Locales
- English
- Filipino
Usage
You can use the BibleBooksHelper
static class to retrieve the book's info.
using BibleBooks;
var books = (BibleBook[])Enum.GetValues(typeof(BibleBook));
foreach (var book in books) {
// Standard abbreviation
Console.WriteLine(BibleBooksHelper.GetStandardAbbreviation(book));
// Thompson abbreviation
Console.WriteLine(BibleBooksHelper.GetThompsonAbbreviation(book));
// OSIS code
Console.WriteLine(BibleBooksHelper.GetOsisCode(book));
// Paratext code
Console.WriteLine(BibleBooksHelper.GetParatextCode(book));
// Max chapter
Console.WriteLine(BibleBooksHelper.GetMaxChapter(book));
// Alternative book names
Console.WriteLine(string.Join(",", BibleBooksHelper.GetAlternativeNames(book)));
// Book name - default locale
Console.WriteLine(BibleBooksHelper.GetName(book));
// Book name - English (en) locale
Console.WriteLine(BibleBooksHelper.GetName(book, CultureInfos.En));
// Book name - Filipino (fil) locale
Console.WriteLine(BibleBooksHelper.GetName(book, CultureInfos.Fil));
}
Support
If you like my work and want to support me, buying me a coffee would be awesome! Thanks for your support!
<a href="https://www.buymeacoffee.com/markivandev" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
Mark Ivan Basto • GitHub @MarkIvanDev • Twitter @Rivolvan_Speaks
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on BibleBooks.Core:
Package | Downloads |
---|---|
BibleBooks.Core.fil
BibleBooks Filipino (fil) Locale |
|
BibleBooks.Core.fil-PH
BibleBooks Filipino (fil-PH) Locale |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0-dev.5 | 83 | 2/2/2024 |
2.0.0-dev.4 | 123 | 2/9/2023 |
2.0.0-dev.3 | 99 | 2/9/2023 |
2.0.0-dev.2 | 98 | 2/8/2023 |
2.0.0-dev.1 | 100 | 2/8/2023 |