-
Notifications
You must be signed in to change notification settings - Fork 31
Characters routes
Here are listed all routes providing information from the characters database of TrinityCore.
Given the numeric characters.guid {guid} of a character, retrieve all basic informations of the character:
/characters/{guid}
Given a string {name}, retrieve all characters having the string {name} in their characters.name:
/characters/{name}
These routes will retrieve basic informations from characters table plus the guild id and the guild name of the character.
If you need ALL and ONLY character table fields, use:
/characters/{guid}?no_extra_fields=1
For further informations about character fields see TrinityCore documentation of characters table.
To retrieve the basic informations of all currently online characters:
/online
Route: /tophonor
Optional multiple parameters: level, startplayer, numplayer.
To retrieve the first 50 name,race,class,level,totalKills of players ordered by totalKills.
Using: level to filter the tophonor, startplayer to filter where the route start to list the players, numplayer to select how many players select after the startplayer.
Example: retrieve 100 players with level 80 after the top 10 players in the tophonor.
/tophonor?level=80&startplayer=10&numplayer=100
###arena_team
Route: /arena_team/id/{arenaTeamId}
Given the numeric arena_team.arenaTeamId {arenaTeamId} of a character, it retrieves all informations of the arena_team table.
Route: /arena_team/type/{type}
Given the numeric arena_team.type {type} of a team, it retrieves all informations of the arena_team table.
Example: Retrieve all team 3v3 data
/arena_team/type/3/
###arena_team_member
Route: /arena_team_member/{arenaTeamId}
Given the numeric arena_team_member.arenaTeamId {arenaTeamId}, it retrieves all informations of the arena_team_member table and the players MMR (character_arena_stats.matchmakerRating).
###battleground_deserters
Route: /battleground/deserters/recent/{count}
Show the most recent count rows of battleground_deserters table.