AzurAPINet 0.3.0
See the version list below for details.
dotnet add package AzurAPINet --version 0.3.0
NuGet\Install-Package AzurAPINet -Version 0.3.0
<PackageReference Include="AzurAPINet" Version="0.3.0" />
paket add AzurAPINet --version 0.3.0
#r "nuget: AzurAPINet, 0.3.0"
// 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
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 | 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
- Microsoft.Bcl.AsyncInterfaces (>= 1.1.1)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 12.0.3)
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.