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.0.tar.gz
.
File metadata
- Download URL: WgLestaAPI-0.1.0.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 | dec23a05ae5c1a15a7e9a6b2111915670800321c10eeec1b8f154e5b451e3549 |
|
MD5 | 6794ed067539ca733ae6e1ddff0c425f |
|
BLAKE2b-256 | 93c8a9823138073ec6be035d1c8e94e351ea410bceea103c2fbaa844c9c47380 |
File details
Details for the file WgLestaAPI-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: WgLestaAPI-0.1.0-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 | 015c232471cfeeeb09fa8839026f638c10dbb1cf32af24e41232033b9b0f495e |
|
MD5 | 6ada1327c12cc0bff031a9b627605fa0 |
|
BLAKE2b-256 | bd7311d71d845cde8a12848e591e59af4cf0fbaba4b7cfa87cbb82c04109a9d7 |