Wglestaapi

Latest version: v1.1.0

Safety actively analyzes 688027 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

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` and `aiohttp` 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` and `compileQuery`
- Renamed constants in `Constants` module
- Created the main class `App`. Now you can init your app right here using by arguments `application_id` and `region`
- 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:
py
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:
json
{"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 of `Query`-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

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.