Skip to content

Releases: tankalxat34/WgLestaAPI

1.1.0

05 Jul 06:50
Compare
Choose a tag to compare
  • 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

26 Jun 09:12
Compare
Choose a tag to compare
  • Added important packages urllib3 and aiohttp as a dependencies

1.0.0

25 Jun 20:53
Compare
Choose a tag to compare
  • 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

27 Jun 15:47
Compare
Choose a tag to compare

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

22 Nov 10:56
Compare
Choose a tag to compare

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

20 Nov 17:26
Compare
Choose a tag to compare
  • Some changes in descriptions
  • Added bat file to gitignore

0.1.0

20 Nov 17:18
Compare
Choose a tag to compare

First stable release

Install

Perform this command in your terminal:

pip install WgLestaAPI