This project is a RESTful APIs for AzerothCore.
This API support these tools:
- NodeJS & npm
- MySQL
- AzerothCore database
$ npm install
Copy the configuration file .env.example file into .env and fill it.
Run the project:
$ npm start
Now you can locally access to the API routes through http://localhost:3000.
The challenge-modes endpoints read the tables of the
challenge-modes module, which live in a separate
Eluna schema on the same MySQL server as the characters database. Set ELUNA_DATABASE_NAME in
.env to that schema name (ac_eluna on ChromieCraft).
GET /characters/challenge_modes/leaderboard?challenge=1— ranked characters for one challenge combination.challengeis the exact bitmask (Hardcore = 1, Ironman = 2, Bloodthirsty = 4, so 1-7), matching the in-game Hall of Fame where every combination is its own competition. Optionalstatus(all,active,completed,dead),class,name,pageandlimit(max 100). Characters are ranked by completion, then level, then lowest played time.GET /characters/challenge_modes/stats— per-combination totals of participants, active runs, completions and deaths.
AzerothCore: repository - website - discord chat community