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
Hashes for wargaming-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd048dc6e54b0f7fdfddb504e4b280a83ac51327c0b8615c32e4658286743fa9 |
|
MD5 | 48ade70e1a57cda91463052318bb0f48 |
|
BLAKE2b-256 | ec075fc5c7945444145dd2f18d516db514d0efeeb91b246e918121c62efad9eb |