Skip to main content

A Python implementation of Blizzard's Web API.

Project description

PyPl Build Status Coverage Status Code style: black Documentation Status

Python Implementation of Blizzard’s Web API

BattleMuffin officially supports Python 3.6-3.8.

Requirements

This package requires client credentials from Blizzard.

You can find out more about how to generate these credentials for your project at the Blizzard Developer Portal.

Quick Setup

Some easy examples to get you started!

from battlemuffin.clients.warcraft_client import WarcraftClient


client = new WarcraftClient("CLIENT_ID", "CLIENT_SECRET")
response = client.get_achievement_categories_index()

It is possible to specify a region, using its default locale

from battlemuffin.clients.warcraft_client import WarcraftClient
from battlemuffin.config.region_config import Region


client = new WarcraftClient("CLIENT_ID", "CLIENT_SECRET", Region.eu)
response = client.get_achievement_categories_index()

It is also possible to specify both the region and locale

from battlemuffin.clients.warcraft_client import WarcraftClient
from battlemuffin.config.region_config import Region, Locale


client = WarcraftClient(client_id, client_secret, Region.eu, Locale.es_ES)
response = client.get_achievement_categories_index()

Installation

To install the latest stable release, you can use pip (or pipenv):

$ pip install -U battlemuffin

Implemented Endpoints

World of Warcraft (Retail):

Game Data:

Name

Achievement Categories Index

Achievement Category

Achievements Index

Achievement

Achievement Media

Auctions

Azerite Essences Index

Azerite Essence

Azerite Essence Media

Connected Realms Index

Connected Realm

Creature Families Index

Creature Family

Creature Types Index

Creature Type

Creature

Creature Display Media

Creature Family Media

Guild Crest Components Index

Guild Crest Border Media

Guild Crest Emblem Media

Item Classes Index

Item Class

Item Sets Index

Item Set

Item Subclass

Item

Item Media

Journal Expansions Index

Journal Expansion

Journal Encounters Index

Journal Encounter

Journal Instances Index

Journal Instance

Journal Instance Media

Mounts Index

Mount

Mythic Keystone Affixes Index

Mythic Keystone Affix

Mythic Keystone Affixe Media

Mythic Keystone Dungeons Index

Mythic Keystone Dungeon

Mythic Keystone Index

Mythic Keystone Periods Index

Mythic Keystone Period

Mythic Keystone Seasons Index

Mythic Keystone Season

Mythic Keystone Leaderboards Index

Mythic Keystone Leaderboard

Mythic Raid Leaderboard

Pets Index

Pet

Playable Classes Index

Playable Class

Playable Class Media

PvP Talent Slots

Playable Races Index

Playable Race

Playable Specializations Index

Playable Specialization

Playable Specialization Media

Power Types Index

Power Type

Professions Index

Profession

Profession Media

Profession Skill Tier

Recipe

Recipe Media

PvP Seasons Index

PvP Season

PvP Leaderboards Index

PvP Leaderboard

PvP Rewards Index

PvP Tiers Index

PvP Tier

PvP Tier Media

Quests Index

Quest

Quest Categories Index

Quest Category

Quest Areas Index

Quest Area

Quest Types Index

Quest Type

Realms Index

Realm

Regions Index

Region

Reputation Factions Index

Reputation Faction

Reputation Tiers Index

Reputation Tiers

Spell

Spell Media

Talents Index

Talent

PvP Talents Index

PvP Talent

Titles Index

Title

WoW Token Index

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

battlemuffin-0.1.10.tar.gz (10.0 kB view details)

Uploaded Source

File details

Details for the file battlemuffin-0.1.10.tar.gz.

File metadata

  • Download URL: battlemuffin-0.1.10.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for battlemuffin-0.1.10.tar.gz
Algorithm Hash digest
SHA256 a5d1a88e949252c70483219163b1401b70f7045df2ed8959fc351e42ba3cd758
MD5 676f126287967cc31234a3aa9f201dce
BLAKE2b-256 4c002e791a82b16339609c10a4c8488391fea9bb171437ce248cf7d23b7e675a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page