https://github.com/jonghwanhyeon/overwatch-stats
A Python library to query a player's overwatch stats from Battle.net
https://github.com/jonghwanhyeon/overwatch-stats
Last synced: 8 months ago
JSON representation
A Python library to query a player's overwatch stats from Battle.net
- Host: GitHub
- URL: https://github.com/jonghwanhyeon/overwatch-stats
- Owner: jonghwanhyeon
- License: mit
- Created: 2016-09-08T17:47:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-12T00:36:50.000Z (about 7 years ago)
- Last Synced: 2025-04-10T12:43:01.507Z (8 months ago)
- Language: Python
- Homepage:
- Size: 50.8 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Overwatch Stats
A Python library to query a player's overwatch stats from Battle.net
## Requirements
- Python 3.2+
- requests
- lxml
- inflect
## Installation
pip install overwatch-stats
## Usage
```python
import overwatch.stats
stats = overwatch.stats.query('pc', '현종환#3104')
```
# API
## overwatch.stats.query(platform, battle_tag)
Queries a player's stats from the Battle.net.
### Parameters
- `platform`: `pc`, `xbl` or `psn`
- `battle_tag`: the player's battle tag