Repository for the Python library for the unofficial Azur Lane API
from azurlane.azurapi import AzurAPI
api = AzurAPI()
api.getShip(ship="Enterprise")
or
api.getShipByName(name="Enterprise")
Works with string or integer. Do not use integer if the id is less than 100 since integers such as 077 is a syntax error in Python
api.getShip(ship=115)
api.getShip(ship="115")
or
# sid stands for "ship id" since id is a reserved function name in Python
api.getShipById(sid=115)
api.getShipById(sid="115")
Discord Link: https://discord.gg/aAEdys8