Skip to main content

API library for Wargaming.net

Project description

# Python library for Wargaming.net API

Pure pythonic library for accessing Wargaming.net API (https://wargaming.net/developers/).

Compatible with a Python>=2.6 and Python 3 versions. PyPy also!

[![Build Status](https://travis-ci.org/svartalf/python-wargaming.svg?branch=master)](https://travis-ci.org/svartalf/python-wargaming) [![Documentation Status](https://readthedocs.org/projects/python-wargaming/badge/?version=latest)](https://readthedocs.org/projects/python-wargaming/?badge=latest) [![PyPI version](https://badge.fury.io/py/wargaming.svg)](http://badge.fury.io/py/wargaming)

## Installation

As simple as usual:

$ pip install wargaming

## Usage

### World of Tanks

from wargaming import WoT api = WoT(‘your-application-id’, language=’ru’)

me_and_my_buddy = api.accounts.info(account_id=[1000000001, 1000000002],

fields=[‘nickname’, ‘client_language’], language=’ru’)

our_clan = api.clans.info(clan_id=1000000003)

### World of Warplanes

Not available right now, still WIP. Sorry ;) But you can contribute!

## Contribution

Just fork, update and send pull request. Do not forget to run tests:

$ tox

Also check for a PEP-0008 compliance:

$ pep8 –ignore=E501,E128 wargaming/

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

wargaming-0.1.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

wargaming-0.1.1-py2.py3-none-any.whl (14.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: wargaming-0.1.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wargaming-0.1.1.tar.gz
Algorithm Hash digest
SHA256 26806bd83d1547a45157e0e12e6fc9a0510f8e52db83678ef8cbb7c6634e0ebb
MD5 b7935c512eef2086767b54e8d49b9991
BLAKE2b-256 366f0cef9e7152450789a1e0afd7de62e7416ac36c549baca6482dbab6e618de

See more details on using hashes here.

File details

Details for the file wargaming-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for wargaming-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dd048dc6e54b0f7fdfddb504e4b280a83ac51327c0b8615c32e4658286743fa9
MD5 48ade70e1a57cda91463052318bb0f48
BLAKE2b-256 ec075fc5c7945444145dd2f18d516db514d0efeeb91b246e918121c62efad9eb

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