Releases: tankalxat34/WgLestaAPI
Releases · tankalxat34/WgLestaAPI
1.1.0
- Updated docs for the
__init__.py
- Added the ability to execute queries using dot notation
- Synchronous and asynchronous methods of operation are now separated into two types of applications
- The short name for the game is now set during application initialization
- Methods for getting authorization related url have been changed
1.0.1
- Added important packages
urllib3
andaiohttp
as a dependencies
1.0.0
- Removed classes
Query
,Method
,URLConstructor
- Removed module
aio.py
- Added module
Utils.py
- Detailed description in the exception
RegionDoesNotExisting
- Remake for functions
constructUrl
andcompileQuery
- Renamed constants in
Constants
module - Created the main class
App
. Now you can init your app right here using by argumentsapplication_id
andregion
- Updated documentation and README.md
0.3.0
Changelog
Added the ability to make asynchronous requests via aiohttp
and asyncio
.
Example of use:
main.py
contains:
from WgLestaAPI import aio
import asyncio
method = aio.Method("account.info", "wot", account_id=563982544, application_id="your_app_id")
response = asyncio.run(method.execute())
print(response)
output
is:
{"status": "ok", "meta": {"count": 1}, "data": {"563982544": {"client_language": "", "last_battle_time": 1569011404, "account_id": 563982544, "created_at": 1564320823, "updated_at": 1686648157, ... "tanking_factor": 0.0}, "frags": None}, "nickname": "tankalxat34", "logout_at": 1597741881}
0.2.0
Changes
- Deleted class
Application.App
- Changed description in
Application.URLConstructor
- Added new method
Query.copy()
for getting copy ofQuery
-object - More readeable
Constants
classes in Constants.py - Changes in README.md
- some other important changes
0.1.1
- Some changes in descriptions
- Added
bat
file to gitignore
0.1.0
First stable release
Install
Perform this command in your terminal:
pip install WgLestaAPI