AzurAPINet 0.3.0

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

// Install AzurAPINet as a Cake Tool
#tool nuget:?package=AzurAPINet&version=0.3.0                

AzurAPINet

How to use

Download AzurAPI database

Follow the instructions here

Create new client

Replace DatabaseDirectory with your path to the downloaded AzurAPI database with a slash at the end.

For example: @"D:\00.code\azurapi-js-setup\"

using Jan0660.AzurAPINet;

AzurAPIClient Client = new AzurAPIClient(DatabaseDirectory,
                                         new AzurAPIClientOptions());
Get all ships
var ships = Client.GetAllShips();
Get a ship by name

The client.GetShip method searches for a ship using it's English name, code, id, Japanese and Chinese name, in this order.

var ship = Client.GetShip("takao");
// or for the real ones
var waifu = Client.GetWaifu("takao");

You can also search for a ship using only it's id

Client.GetShipById("200");

Caching

This wrapper caches all the ships on the first call to Client.GetAllShips (which is also called by the GetShip functions ). It only takes up a few extra Megabytes of ram and saves waiting 3 seconds(on a 3.3ghz CPU) on each call to Client.GetAllShips .

Just in case you want to disable it (pls don't, not caching probably causes even memory leaks lol) just set the EnableCaching value on the AzurAPIClientOptions you're using with your AzurAPIClient.

WIP

Please note this library is still work in progress.

You can see the current progress and planned features here.

Product 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. 
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
2.0.0-preview4 411 10/9/2021
2.0.0-preview3 215 9/7/2021
2.0.0-preview2 325 4/20/2021
2.0.0-preview1 203 4/15/2021
1.3.0 647 3/8/2021
1.2.1 387 2/24/2021
1.2.0 368 2/24/2021
1.1.1 334 2/12/2021
1.1.0 379 1/5/2021
1.0.1 386 11/29/2020
1.0.0 416 11/20/2020
0.5.1 467 11/7/2020
0.5.0 440 10/31/2020
0.5.0-preview3.1 306 10/23/2020
0.5.0-preview3 295 10/23/2020
0.5.0-preview2 300 10/16/2020
0.5.0-preview1 340 10/13/2020
0.4.0 465 10/11/2020
0.4.0-preview 296 10/9/2020
0.3.0 437 10/6/2020

transferred to .NET standard 2.0 (from .NET core 3.1). Chapters and mission wrappers are almost complete except the NodeMap.