Skip to content

azurlane-api/AzurLane.Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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