AzurLane
Api wrapper for my azur lane api
Example
const { AzurLane, Order } = require("azurlane");
const azurlane = new AzurLane();
async function main() {
const ship = await azurlane.getShipByName("Akagi");
console.log(`${ship.names.en}'s rarity is ${ship.rarity}`);
const ships = await azurlane.getShips(Order.RARITY, "Super Rare");
for (let i = 0; i < ships.length; i++) {
console.log(`[${ships[i].id}] = ${ships[i].name}`);
}
}
main().catch(console.error);
Docs
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.
Support
![discord](https://discordapp.com/api/v6/guilds/240059867744698368/widget.png?style=banner2)