WoW Forever SDK#

The SDK is a Python package for the World of Warcraft: Forever Battle.net API. It gives typed models for game data, such as classes, items, mounts and quests. It also gets tokens, retries failed requests and reads search results. You import it as wow.

The SDK is a library, not a service. The website’s API depends on it, and it is on PyPI as wow.

Main parts#

Folder

What’s in it

src/wow/_async/

The client and one resource for each Battle.net API, written as async code. Edit this code.

src/wow/_sync/

The sync client. A script writes it from _async. Do not edit it.

src/wow/models/

The models. See How it works.

tests/fixtures/

Responses recorded from the live API. The tests send them from a mock Battle.net.

scripts/

The scripts that write the sync client, record the fixtures and check the models against the live API.

Pages#