Skip to content

Releases

v0.6.1

Choose a tag to compare

@JacobCoffee JacobCoffee released this 01 Dec 05:43
c335773

Fixed

  • client.characters.get reads profiles with no average_item_level or equipped_item_level. Battle.net stopped
    sending both in profiles written since a change between 2026-11-18 and 2026-11-30, so every character who has
    logged out since raised APIResponseValidationError. Both fields are now int | None.

v0.6.0

Choose a tag to compare

@JacobCoffee JacobCoffee released this 13 Nov 19:32
cd48fdb

Added

  • client.creatures reads creatures: get(id), search/search_all, modeled by Creature and
    CreatureSearchData, and display_media(id) for a creature display's rendered image.
  • client.spells reads spells: get(id) and media(id), modeled by Spell, plus search/search_all modeled by
    SpellSearchData.
  • client.item_appearances reads item appearances, the transmog looks items share: get(id), set_index() and
    set(id) for appearance sets, slot_index() and slot(type) for an equipment slot's appearances, and
    search/search_all. Modeled by ItemAppearance, ItemAppearanceSet, ItemAppearanceSetIndex,
    ItemAppearanceSlot, ItemAppearanceSlotIndex, ItemAppearanceSlotRef and ItemAppearanceSearchData.
  • client.media searches media documents across every static type by tag with search/search_all, modeled by
    MediaSearchData.
  • client.pets.media(id) reads a battle pet species' icon.

v0.5.1

Choose a tag to compare

@JacobCoffee JacobCoffee released this 11 Nov 20:00
b4d540c

Added

  • client.guild_crests reads the emblems, borders and colors a guild crest can use.
    client.guild_crests.index() lists every selectable component, modeled by GuildCrestComponentsIndex,
    GuildCrestComponent and GuildCrestComponentColors. client.guild_crests.border_media(id) and
    client.guild_crests.emblem_media(id) read a border's or an emblem's rendered image.

Fixed

  • An access_token with a trailing newline or space, a control character or a non-ASCII character, or an empty one,
    now raises ValueError when you make the client or call with_options. Before, each request failed after every
    retry with an APIConnectionError whose message quoted the token, or with a UnicodeEncodeError.
  • The client retries every 5xx response, as the documentation says. Before, it retried only 500, 502, 503 and 504,
    so any other 5xx raised InternalServerError on the first response.
  • A response body that arrives corrupt, such as broken gzip data, is retried and then raises APIConnectionError.
    Before, httpx.DecodingError escaped on the first failure, although every error is meant to be a WowError.
  • A request that can never succeed is no longer retried: a base_url or oauth_url with no http:// or https://
    raises APIConnectionError at once instead of after every retry and its waits.
  • When the early refresh of the app token fails, the client keeps the current token until Battle.net stops accepting
    it. Before, a failure of the OAuth host in a token's last 5 minutes failed every request, though the token was
    still valid.

Changed

  • MediaAsset.file_data_id is now int | None: guild-crest media responses leave it out.

v0.5.0

Choose a tag to compare

@JacobCoffee JacobCoffee released this 11 Nov 02:38
a478904

Added

  • client.characters.appearance(slug) reads a character's rendered appearance: its gear, customizations and guild crest, modeled by CharacterAppearance and the new AppearanceItem, AppearanceCustomization, GuildCrest and related models. guild_crest is None for a guildless character.
  • client.characters.hunter_pets(slug) reads a hunter's tamed pets, modeled by CharacterHunterPets. Only hunters have this document; NotFoundError otherwise. hunter_pets is empty when Battle.net answers with none tamed.
  • static_version on Client, AsyncClient and with_options: pins static-data requests to one build, such as "1.60.1_70399", instead of Battle.net's current static namespace. Dynamic and profile requests are unaffected.

v0.4.0

Choose a tag to compare

@JacobCoffee JacobCoffee released this 07 Nov 04:20
164631a

Added

  • client.auctions reads the Auction House API: houses(ruleset_id) lists a ruleset's auction houses (every ruleset lists the same fifteen), get(ruleset_id, house_id) reads one house's posted auctions, and commodities(ruleset_id, house_id) reads its stackable commodities. An empty house, such as house 112, has no auctions.
  • AuctionHouseIndex, AuctionHouse, AuctionEntry, AuctionItem, AuctionItemModifier, CommodityHouse and CommodityEntry model the new routes.

Changed

  • Ruleset.auctions now links to a live document; its docstring no longer says Battle.net does not serve it.

v0.3.0

Choose a tag to compare

@JacobCoffee JacobCoffee released this 06 Nov 04:31
b5bf2a7

Added

  • CharacterStatistics reads the stats Battle.net added on 2026-11-05: melee_hit, ranged_hit, spell_hit,
    off_hand_hit, expertise, off_hand_expertise, armor_penetration, defense, ranged_attack_power,
    ranged_damage_min, ranged_damage_max, spell_healing and movement_speed, and value on speed and
    avoidance. Each is None on a sheet written before that update.
  • EquippedItem.transmog (ItemTransmog): the appearance an item is transmogrified to, and the other shoulder's
    when the two differ.
  • CharacterEquipment.equipped_item_sets, with is_equipped on each set piece and is_active on each bonus.
  • CharacterPvpSummary.pvp_map_statistics (PvpMapStatistics): played, won and lost per battleground map.
  • is_favorite on CollectedMount, CollectedPet and CollectedToy.

Changed

  • ItemEnchantment.source_item can be None: a spell's imbue, such as a shaman's Rockbiter, has no source item.
    Before, equipment with one failed to decode.
  • CharacterStatistics is keyword-only.
  • Test fixtures re-recorded from the live API on 2026-11-06, with five more characters for the new shapes.

v0.2.0

Choose a tag to compare

@JacobCoffee JacobCoffee released this 06 Nov 01:20
48c9eb8

Added playable_specializations.media(spec_id) and achievements.media(achievement_id): the specialization and achievement icons.

v0.1.0

Choose a tag to compare

@JacobCoffee JacobCoffee released this 05 Nov 21:02
a5d070e

Added

  • Client and AsyncClient for the World of Warcraft: Forever Battle.net API, sharing one surface across sync,
    asyncio and trio.
  • App-token caching and refresh, the OAuth authorization code flow (authorization_url, exchange_code) and
    user tokens via with_options(access_token=...).
  • Retries with exponential backoff and Retry-After support for connection errors, timeouts, 408, 429 and 5xx.
  • Typed msgspec models and routes for the achievement, creature, item, mount, pet, playable class, race and
    specialization, power type, profession, quest, region, realm, reputation, talent, title, toy and account profile
    APIs. Undeclared fields are skipped rather than fatal.
  • Search with filters (Range, Not, any-of), sorting, paging and search_all auto-pagination.
  • client.get for raw access to any document or link, with battlenet-namespace and Last-Modified headers. It
    only follows links on the client's own API host and scheme, so tokens never leave Battle.net.
  • Authorization codes are exchanged exactly once; exchange_code never retries.
  • client.characters reads any character's public profile with an app token, by its name-surname slug: summary,
    status, images, equipment, stats, talents, professions, reputations, PvP summary, achievements, statistics, quests
    and collections (mounts, pets, toys, appearances).
  • client.guilds reads a guild and its roster by slug; client.rulesets reads the rulesets Forever has in place of
    realms.
  • client.recipes, plus client.professions.skill_tier and client.professions.media, read profession recipes,
    their reagents and icons.