Skip to main content

Unofficial Azur Lane API library made in Python

Project description

Discord Downloads

Repository for the Python library for the unofficial Azur Lane API

Example

Importing module and instancing the api

from azurlane import AzurApi
api = AzurApi()

Getting ship information

Type: Multilingual

api.get_ship(ship="Enterprise")

or

api.get_ship_by_name(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.get_ship(ship=115)
api.get_ship(ship="115")

or

# sid stands for "ship id" since id is a reserved function name in Python
api.get_ship_by_id(sid=115)
api.get_ship_by_id(sid="115")

Maintainers

In Collaboration With

Support Server

image1

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for azurlane, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size azurlane-1.0.5.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page