AzurAPI / azurapi-py

Python wrapper for the unofficial Azur Lane API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 89.0%Language:Shell 6.0%Language:Batchfile 4.9%