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
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
Built Distribution
File details
Details for the file wargaming-0.2.0.tar.gz
.
File metadata
- Download URL: wargaming-0.2.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0dfeaad01fcaf8eadc4c5f23e9c3e5972a9985c02bfb29bd9df8967c5147212 |
|
MD5 | 526b981734eb7582a5e4d1286cb5ae45 |
|
BLAKE2b-256 | 5217c272077cf32c722d33cfe8d89404ed2de49998e09b787bf897e5a4fbd60d |
File details
Details for the file wargaming-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: wargaming-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c39d4cb9fa38682c27323a39979fbd3e8db5d2645f0b627e019b66defce5cb6 |
|
MD5 | 771eef51b5c84e261a3b7f5b16c47c5a |
|
BLAKE2b-256 | 0efd781702d05f20c9845a5b91c4e684bb3dfb1860c45b5aebc832f24ea172d7 |