Azuxiren.Aionian 1.0.2

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
Install-Package Azuxiren.Aionian -Version 1.0.2
dotnet add package Azuxiren.Aionian --version 1.0.2
<PackageReference Include="Azuxiren.Aionian" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Azuxiren.Aionian --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Azuxiren.Aionian, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Azuxiren.Aionian as a Cake Addin
#addin nuget:?package=Azuxiren.Aionian&version=1.0.2

// Install Azuxiren.Aionian as a Cake Tool
#tool nuget:?package=Azuxiren.Aionian&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Aionian Library contains simplistic features to consume the bible resources. As of now, the following is provided

The BibleLink struct which defines the bible link as provided in, The Bible struct which contains all the content of bible using nested Dictionaries, and BibleBook enum which has all the books of the bible defined within it.

Provided with these are static utility methods, most importantly for getting all links from the website (link given above) and a method for deserializing the Bible struct from downloaded link

BibleLink[] links = BibleLink.GetAllUrlsFromWebsite();//Gets all download links available from the website
BibleLink mylink = links[0]; //Taking the first link
var stream = mylink.DownloadStream();//Downloads the stream of the bible database
var bible = Bible.ExtractBible(stream);//Now the bible is ready to use
var AnotherBible = Bible.ExtractBible(mylink.DownloadStream());//One line 
string verse = AnotherBible[BibleBook.John, 3, 16];

By using a stream, there is an additional option of downloading the file by the URL in the BibleLink object and opening it via a Stream to load the Bible. There is now also an Async method for downloading the bible with events that are fired on the update on progress.

The bible struct is also compatible to be serialized with Json, provided the option IncludeFields = true is set.

//Prepare Option for Serializing
var options = new JsonSerializerOptions() { IncludeFields = true }

//Serialization Example
string SerializedBible = JsonSerializer.Serialize(BibleObject, options);

//Deserialization Example
var Bible = JsonSerializer.Deserialize<Bible>(SerializedBible, options);
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
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
2.0.1 196 6/21/2021
2.0.0 165 6/18/2021
1.1.0 158 5/9/2021
1.0.2 262 11/28/2020 209 11/24/2020
1.0.1 270 11/24/2020 311 11/24/2020
1.0.0 342 11/23/2020

Added Async method for download with progress update;
Overrided BibleLink ToString() method