Skip to content

Latest commit

 

History

History
77 lines (49 loc) · 1.51 KB

README.rst

File metadata and controls

77 lines (49 loc) · 1.51 KB

Azur Lane API

Discord Downloads

Repository for the Python library for the unofficial Azur Lane API

Example

Importing module and instancing the api

from azurlane.azurapi import AzurAPI
api = AzurAPI()

Getting ship information

Type: Multilingual

api.getShip(ship="Enterprise")

or

api.getShipByName(name="Enterprise")

Type: ID

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")

Maintainers

In Collaboration With

Support Server

image1

Discord Link: https://discord.gg/aAEdys8