Skip to content

Latest commit

 

History

History
39 lines (35 loc) · 1.28 KB

File metadata and controls

39 lines (35 loc) · 1.28 KB

Build status Codacy Badge NuGet

AzurLane.Net

.Net wrapper for the unofficial azur lane api

Example

using System;
using System.Threading.Tasks;
using AzurLane.Net;
using AzurLane.Net.Ships;

namespace Example
{
    public class Program
    {
        public async Task Main()
        {
            try
            {
                var ships = await Ships.GetListAsync(Category.Rarity, "Super Rare");
                foreach (var ship in ships)
                {
                    Console.WriteLine($"[{ship.Id}]: ({ship.Name})");
                }
            }
            catch (ErrorResponseException e)
            {
                Console.WriteLine(e.Message);
            }
        }
    }
}

Support

discord