Auction data updater and exporter for the Trade Skill Master (TSM) addon in World of Warcraft.
- Update auction data from BattleNet API.
- Export to TSM's
AppData.lua
file. - Supports all World of Warcraft versions.
- Scheduled updates via GitHub Actions, shares auction data on GitHub Releases.
Steps:
-
Set the
BN_CLIENT_ID
andBN_CLIENT_SECRET
environment variables. -
Run the following command:
python -m ah.updater {region}
Replace {region}
with the region you want to export data from.
Alternatively, to set up scheduled updates in GitHub Actions, follow these steps:
- Fork this project.
- Add a new environment named
env_main
with the following secrets:BN_CLIENT_ID
BN_CLIENT_SECRET
- Specify the frequency, regions, and game versions to update in
./.github/workflows/job.yml
.
The scheduled workflow utilizes the GitHub Actions Cache as storage for database files. This means that the workflow will reuse the most recent cache and create a new one with the updated database file after the job is completed. Please note that all caches expire after 7 days if not accessed, and if the total cache usage for the repository exceeds 10GB, the least recently used cache will be removed.
To export the auction data to the AuctionDB.lua
file used by TSM, run the following command:
python -m ah.tsm_exporter {region} {realm1} {realm2} ...
Replace {region}
with the region you want to export, and {realm}
with the realms you want to include.
You can export directly from a repo with a scheduled update set up.
python -m ah.tsm_exporter --repo https://github.com/kamoo1/Kamoo-s-TSM-App {region} {realm1} {realm2} ...
A handy UI can be found here:
python -m ah.ui
Updates are scheduled to run every 2 hours in this repository.
It addresses unlisted realms in TSM's source files - mostly newer realms in the KR and TW regions, where prices won't load correctly unless patched. You may want to re-apply this patch every time TSM is updated.
Region sales data is not available through the Blizzard API; instead, it's collected automatically from users by the official TSM App. However, this feature is not planned for this project for now.
This project aims to cover missing data from the official App. Retail and Wrath data for the US and EU are already provided by the official App.
Releases are available on Releases, currently, only Windows is supported.