Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wg-api, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size wg_api-0.0.1-py3-none-any.whl (8.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wg-api-0.0.1.tar.gz (7.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page