Releases: benweier/blizzard.js
v4.6.0
Been a little while since I tagged a release. Sorry about that.
- Adds WoW Classic Era client (thanks @cosileone!)
- Updates allowed params for HS Card and Deck API methods (thanks @ziyafenn!)
- Adds Profile Data API methods to WoW Classic and WoW Classic Era clients (thanks @bfaler!)
WoW Classic Era
The new Classic Era client can be instantiated with
await wow.classic.createEraInstance(...)
v4.3.0
v4.2.0
v4.1.1
v4.1.0
v4.0.2
v4.0.1
v4.0.0
The One With TypeScript
The long-awaited TypeScript release has arrived. This brings with it support for the latest Blizzard APIs, a new way to import/instantiate the library per game client, and a complete rewrite of the underlying resources. It's practically a whole new library at this point.
v3.2.0
This release includes support for the Hearthstone Game Data API via the hs
namespace.
Search cards
blizzard.hs.cards({ set: 'rise-of-shadows' })
Valid search parameters include attack
, class
, collectible
, health
, keyword
, manaCost
, minionType
, order
, page
, pageSize
, rarity
, set
, sort
, textFilter
, and type
. See the Hearthstone Guide for more information.
Get a card by ID or slug
blizzard.hs.cards({ card: '52119-arch-villain-rafaam' })
Get a deck by code
blizzard.hs.deck({ code: 'AAECAQcG+wyd8AKS+AKggAOblAPanQMMS6IE/web8wLR9QKD+wKe+wKz/AL1gAOXlAOalAOSnwMA' })
Get all metadata
blizzard.hs.metadata()
Get metadata by type
blizzard.hs.metadata({ type: 'sets' })
Valid metadata values include sets
, setGroups
, types
, rarities
, classes
, minionTypes
, and keywords
.