-
Notifications
You must be signed in to change notification settings - Fork 0
Get Started
Jan0660 edited this page Nov 8, 2020
·
4 revisions
using Jan0660.AzurAPINet;
AzurAPIClient Client = new AzurAPIClient(new AzurAPIClientOptions());
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());
var ships = Client.GetAllShips();
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 / en,ja,cn name / code
// get ship by id
Client.GetShipById("200");
// by english,japanese,chinese,korean name
Client.GetShipByEnglishName("takao");
Client.GetShipByJapaneseName("高雄");
Client.GetShipByChineseName("獒");
Client.GetShipByKoreanName("타카오");
// by code
Client.GetShipByCode("IJN Takao");
Look at the sidebar or source code lol