Battle.net REST API Connections
Project description
BattleNet Clients
BattleNet Clients provide a uniform interface for Blizzard's Battle.net Developer Rest Application Programming Interface (BNET Rest API)
Installation
Windows, OS X & Linux:
pip install battlenet_client
Clone
Clone the latest version: https://gitlab.com/battlenet1/battlenet-client.git
Usage Example
# client_id and client_secret found in your battle.net developer account
from battlenet_client import BattlenetClient
client = BattleNetClient('us', 'enus', client_id='<client_id>', client_secret='<client_secret>')
client.get('data/wow/playable-class/1', locale='en_US', namespace='static-us')
For more information, please the wiki
Note: This package is a dependency of my other Battle.net REST API packages
Release History
0.0.3
- Further reorganization
- Cleaned up handling of the locality string
- Added capability for handling of re-releases (Example: WoW Classic)
0.0.2
- Reorganization of code
0.0.1
- Initial release
Meta
David "Gahd" Couples – @gahdania – gahdania@gahd.io
Distributed under the GPL v3+ license. See LICENSE
for more information.
Contributing
- Fork it
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
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
battlenet_client-1.2.0b18.tar.gz
(17.9 kB
view hashes)
Built Distribution
Close
Hashes for battlenet_client-1.2.0b18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a4f61b22a4adc56f400b269c0052cbd63ddc6577704a28b5d8da060797ce245 |
|
MD5 | 8b24b0c9aca3b1e768ff25f2dd5056a2 |
|
BLAKE2b-256 | 30cc6c9132dc2c48a4ce5d4bdec166fd83966b4b961380f0418c2c0f79f4f774 |
Close
Hashes for battlenet_client-1.2.0b18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b7c4a765264c5f26805b1bba10cf43ad57415fd0db55ee4b7aab9b2073a8018 |
|
MD5 | dfb5c576541422e8b1430af531f9be85 |
|
BLAKE2b-256 | 9ff5a564f4cca7fadfca4e1afdb1962e4a23d87fbff7fdfbd373eb66ac83fca6 |