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 Wargaming.net and API Lesta Games 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("account.list", game_shortname="wotb", query=query, region="eu")

# 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.wargaming.net/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.

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

Uploaded Source

Built Distribution

wglestaapi-0.2.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file wglestaapi-0.2.0.tar.gz.

File metadata

  • Download URL: wglestaapi-0.2.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.7 Windows/10

File hashes

Hashes for wglestaapi-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9d8aec48f2a000fcad2342092728cc0082653d458245cabd98606530a75a55b3
MD5 c26860d155e76176b5f10fef864edabf
BLAKE2b-256 aafb184eae38e65cafa4360b34d21e94d7a0db8ef057f0034a6fa2f71b2301bc

See more details on using hashes here.

File details

Details for the file wglestaapi-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: wglestaapi-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.7 Windows/10

File hashes

Hashes for wglestaapi-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7b904b5f4bd2599f9620449bf17b5bd3d6e338d5faae64c704b7086536481ee
MD5 280684a2cce9b9e59286a8714863a7a3
BLAKE2b-256 8e771712497876fb7c1230db81237b15411fe101f60f2980870d75107769f3cf

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