Unofficial Azur Lane API library made in Python
Project description
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
Discord Link: https://discord.gg/aAEdys8
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
azurlane-1.1.3.tar.gz
(6.4 kB
view details)
File details
Details for the file azurlane-1.1.3.tar.gz
.
File metadata
- Download URL: azurlane-1.1.3.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b1b507349d2a29cb0f5fe36e2b4c300087d5ef21e6333465bc44f7953432913 |
|
MD5 | 3d1352387e789a24e04cb8918e240c09 |
|
BLAKE2b-256 | 8cfbb04f0f9db24295267f269c5920b0e73b8f6f4e783385599984a940cf16c8 |