Skip to content

Angeloffy/BlizzardWarcraftAPI

Repository files navigation

BlizzardWarcraftAPI

image

BlizzardWarcraftAPI is a Python library designed to interact with the official World of Warcraft API provided by Blizzard. Although it is still a work in progress, active development is underway. It's important to note that this library is not an official Blizzard product, but rather the result of an independent developer's efforts.

BlizzardWarcraftAPI aims to provide a convenient and user-friendly interface for developers to access and utilize the wealth of data available through the World of Warcraft API. With this library, you can retrieve information about characters, items, quests, guilds, and more. It abstracts away the complexities of making API requests and handling responses, allowing developers to focus on building their applications or tools.

By leveraging Blizzard's official API, BlizzardWarcraftAPI ensures that the data obtained is accurate and up-to-date. As the library continues to evolve, additional features and enhancements will be added to expand its capabilities and improve its usability. Developers interested in utilizing the vast resources offered by the World of Warcraft API will find BlizzardWarcraftAPI to be a valuable tool in their projects.

Installing

Install and update using pip:

pip install BlizzardWarcraftAPI

A Simple Example

Get Access Token

from BlizzardWarcraftAPI import BlizzardAuthToken

token = BlizzardAuthToken("ClientID", "ClientSecret")
token.get()

Get Achievement Category & Character Hunter Pets Summary

from BlizzardWarcraftAPI import BlizzardWarcraftAPI

api = BlizzardWarcraftAPI("token", "region", "locale")

GameData = api.GameData()
Profile = api.Profile()

GameData.get_AchievementCategory(1)
Profile.get_CharacterHunterPetsSummary("ravencrest", "bicmex")