Unofficial Python library that implements the Wargaming.net API and Lesta Games API functionality
Project description
WgLestaAPI
Unofficial Python library that facilitates working with API Lesta Games and API Wargaming.net functionality via Python.
By downloading this library you fully agree with all official documents Lesta Games and Wargaming.net about Lesta Games and Wargaming.net products. The author of the library (Alexander Podstrechny) is not responsible for your actions performed with the help of this program code.
Installing the library
Run the command below at the command line
pip install WgLestaAPI
Example of use
from WgLestaAPI import Application
# Creating a Query with your application_id
query = Application.Query(application_id=APP_ID)
# Adding the necessary parameters
query.extend(search="tank", limit=5)
# Creating the method `account.list` of the game Tanks Blitz on the RU-region with the passed parameters
m = Application.Method(api_method="account.list", game_shortname="wotb", query=query)
# Executing the method
mExecuted = m.execute()
# Your server response processing
print(mExecuted['data'][0]['account_id']) # 58114596
# If you wish, you can follow a link to the official website of the API owner with documentation
print(m.docs) # https://developers.lesta.ru/reference/all/wotb/account/list/
Library functionality
The library implements the basic functions of API Lesta Games and API Wargaming.net. All requests are made through your application, which you previously created on Lesta Games or on Wargaming.net. Some features are listed below:
- Getting information about the player, his equipment and medals.
- Obtaining information about the clan.
- Getting information about equipment, equipment mauls.
- And other methods that do not require user authorization.
Copyright Notice
- 2022 © Alexander Podstrechnyy.
- 2022 © Wargaming.net. All rights reserved.
- 2022 © Lesta Games. All rights reserved.
This program code is not a product of Lesta Games and was developed according to Lesta Games DPP rules.
This program code is not a product of Wargaming.net and is developed according to WG DPP rules.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file WgLestaAPI-0.1.1.tar.gz
.
File metadata
- Download URL: WgLestaAPI-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14b294b5e1e5d2228af84857a2bbcd1a371f3a239542bb4f5011835d7874da9e |
|
MD5 | bbbed4e480f207d066181f5a85b20150 |
|
BLAKE2b-256 | be75e0976ddfa2692ed1a75c1306f7d5ab116ef1b720c725bc9435a61c80ce51 |
File details
Details for the file WgLestaAPI-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: WgLestaAPI-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c8d40403d596adbf9c876d36b861ceb685f470f3b91d676eec20350ef84816c |
|
MD5 | 6536e1b7a7807b2f57ff1dd3156b8705 |
|
BLAKE2b-256 | 96af0f08865d819e5f154a46e1ef6bf468b3055205f18b1112e72a08fe832c9e |