Skip to content

Python wrapper for the unofficial Azur Lane API

Notifications You must be signed in to change notification settings

AzurAPI/azurapi-py

Repository files navigation

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

About

Python wrapper for the unofficial Azur Lane API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published