Skip to main content

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.

Downloads Downloads Downloads Supported Versions Version GitHub Repo stars

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

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

WgLestaAPI-0.1.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

WgLestaAPI-0.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

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

Hashes for WgLestaAPI-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dec23a05ae5c1a15a7e9a6b2111915670800321c10eeec1b8f154e5b451e3549
MD5 6794ed067539ca733ae6e1ddff0c425f
BLAKE2b-256 93c8a9823138073ec6be035d1c8e94e351ea410bceea103c2fbaa844c9c47380

See more details on using hashes here.

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

Hashes for WgLestaAPI-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 015c232471cfeeeb09fa8839026f638c10dbb1cf32af24e41232033b9b0f495e
MD5 6ada1327c12cc0bff031a9b627605fa0
BLAKE2b-256 bd7311d71d845cde8a12848e591e59af4cf0fbaba4b7cfa87cbb82c04109a9d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page