1. #1

    Is there a Trials Fusion API?

    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.
    Share this post

  2. #2
    UbiSkyBear's Avatar Community Manager
    Join Date
    May 2016
    Posts
    334
    Hi Olomiui, currently it doesn’t exist. However it's something that we are looking at for future games and we’d like to know more about what you would like to get out of a feature such as this.

    Feel free to share your ideas on what you would like to be able to do if this type of API were available.
    Share this post

  3. #3
    iqLay2's Avatar Junior Member
    Join Date
    Jun 2014
    Posts
    16
    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
    Share this post

  4. #4
    booped's Avatar Senior Member
    Join Date
    Apr 2004
    Posts
    501
    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.
    Share this post

  5. #5
    Please do this, would make my project much better. Please see www.TrialsRecords.com to see what I have achieved so far.
     1 people found this helpful
    Share this post