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.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file WgLestaAPI-0.1.1.tar.gz.

File metadata

  • Download URL: WgLestaAPI-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 14b294b5e1e5d2228af84857a2bbcd1a371f3a239542bb4f5011835d7874da9e
MD5 bbbed4e480f207d066181f5a85b20150
BLAKE2b-256 be75e0976ddfa2692ed1a75c1306f7d5ab116ef1b720c725bc9435a61c80ce51

See more details on using hashes here.

File details

Details for the file WgLestaAPI-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: WgLestaAPI-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c8d40403d596adbf9c876d36b861ceb685f470f3b91d676eec20350ef84816c
MD5 6536e1b7a7807b2f57ff1dd3156b8705
BLAKE2b-256 96af0f08865d819e5f154a46e1ef6bf468b3055205f18b1112e72a08fe832c9e

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