wargaming api package
Project description
wg_api – Python модуль для удобной работы с Wargaming API.
Доступны методы для работы с API игры WOT Blitz.
import wg_api
#id вашего приложения можно посмотреть здесь https://developers.wargaming.net/applications
app = wg_api.WOTBlitz("228053609b02258f94c78c79bd6c3971")
print(app.get_player_info_by_name("player12345"))
Установка
$ python -m pip install wg_api
Список доступных методов методов:
- get_player_id_by_name(name: str, language: str = 'ru') -> int
- search_players(search: str, language: str = "ru", limit: int = 100, type: str = "startswith") -> list
- get_player_name_by_id(account_id: int, language: str = "ru") -> str
- get_player_info_by_id(account_id: int, language: str = "ru") -> dict
- get_player_info_by_name(name: str, language: str = "ru") -> dict
- get_player_achievements_by_id(account_id: int, language: str = "ru") -> dict
- get_player_achievements_by_name(name: str, language: str = "ru") -> dict
- get_player_max_series_by_id(account_id: int, language: str = "ru") -> dict
- get_player_max_series_by_name(name: str, language: str = "ru") -> dict
- get_clan_id_by_name(clan_name: str, language: str = "ru") -> int
- get_clan_info_by_id(clan_id: int, language: str = "ru") -> dict
- get_clan_info_by_name(clan_name: str, language: str = "ru")
- get_tanks_list() -> dict
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wg-api-0.0.1.tar.gz
(7.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wg-api-0.0.1.tar.gz.
File metadata
- Download URL: wg-api-0.0.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4974d7a38969df71859642709af65ace7b6d67206ecd59a33385ab7fa475d87
|
|
| MD5 |
29f9cc1a0aa107369c528d0a4ba61329
|
|
| BLAKE2b-256 |
dca316c6f65e004e2fdc07ae7066717320ee9069e073cc8cdf8f8dceb3b31348
|
File details
Details for the file wg_api-0.0.1-py3-none-any.whl.
File metadata
- Download URL: wg_api-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f511ef1879706bea466e5fdeb4260cf79b27bbc9dd09facad6ba281bed97f2d
|
|
| MD5 |
82bb1cf4c4f0ff0d74be921e18455dcc
|
|
| BLAKE2b-256 |
6902d99d2cec6d883b9426577389e7ff99f1edaa508901f588ef76666a60da23
|