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.0b17.tar.gz
(17.9 kB
view hashes)
Built Distribution
Close
Hashes for battlenet_client-1.2.0b17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba758b1c701e27017a7cbf99173e6c0a619a2b79f8a7e83abc4ed5ad9adced2 |
|
MD5 | 3c57fcb6f784be7acdfde2c58a940bb8 |
|
BLAKE2b-256 | fcf797e0475167faa2c293e33a27d1cf9c9e52568f76cb05dd7c8a86657533ff |
Close
Hashes for battlenet_client-1.2.0b17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a34060ebf0219ecbc44a7bbd1dea2c1b98c61713b14b72e4c09221a2d769896 |
|
MD5 | 06b8545d3bd6c6baa64c6af517a2e928 |
|
BLAKE2b-256 | 2527a498830e0c89274a796c764339e38cb882899c8d19c1c88a0200f18bd7ae |