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.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
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.0.tar.gz
(6.6 kB
view details)
File details
Details for the file azurlane-1.1.0.tar.gz
.
File metadata
- Download URL: azurlane-1.1.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aefc9ba4bc8cf95e681fa5845fe6bd0496306354ce318d75eb92b2648592db48 |
|
MD5 | 0d59dafb947038a433e4d6d51324742a |
|
BLAKE2b-256 | 6da127333f988fa3772231e062e9918acdfb296441bf2c656af1aa54c97b6c18 |