AzurLane
Api wrapper for my azur lane api
Example
const AzurLane Category = ;const azurlane = ; { // Get specific ship by name, in this case "Akagi" const ship = await azurlane; console; // IJN Akagi's rarity is Super Rare // Get an array of ships with rarity "Super Rare" const ships = await azurlane; for let i = 0; i < shipslength; i++ console; // [036] = San Diego } // Also catches any api errors that might occur like 400, 429, 500 http errors// Api errors extend the default error class, have a look at https://azurlane-api.github.io/AzurLane/classes/apierror.html for information;
Docs
- Module Docs: https://azurlane-api.github.io/AzurLane/
- Api Docs: https://azurlane-api.github.io/azurlane-api/
I recommend looking at the api docs to see what data is returned before spamming the api with useless requests only to see what it actually returns.