Hey guys -- sorry if this was answered somewhere already, but is there any sort of REST API for querying things about Trials -- figure out what track a player is currently riding, what the configuration of their bike is, what gear they're wearing, what their records are on various tracks, etc? I've been poking around and haven't found anything, and I have a couple of ideas for some fun tools I'd like to build.
That would be awesome, i had to attach custom objects n i remembered there are so many gear choices, the objects seemed to be bad if i changed into other gears on the rider the object just couldnt be seen. It would be easier this way.
This and i'm sure alot of many ideas could be used if we can do this in the next trials game![]()
Some of my initial ideas of what would be useful in a API
/global Returns global leaderboard paginated into manageable chunks.
/global/name/{$name} Returns named riders current position and score.
/global/teams Returns global teams leaderboard
/global/teams/{$team} Returns named teams current position and score.
/global/team/{$team} Returns all team riders current position and score.
/track/{$track} Returns named tracks current leaderboard paginated into manageable chunks.
/track/{$track}/name/{$name} Returns named riders position and score on the named track.
/track/{$track}/team/{$team} Returns the named teams riders position and score on the named track.
/customleaderboard Passed an array of riders and tracks and returns a leaderboard
You could also extend this to cover realtime information about tournaments, track central, rider gear etc.
I think any modern competitive game should probably have this functionality and be backed up with a official web/iOS/android apps
This would also allow the community to create some very useful resources for players.
Please do this, would make my project much better. Please see www.TrialsRecords.com to see what I have achieved so far.