various question about ws API
Posted: 11 Jul 2012, 13:50
Hi @ all,
After months of inactivity, I will have time to develop the tm2 version of tm-ladder.com. In parallel, I will migrate the tmf section from the old depreciated API to trackmania web service.
Before coding the website, I have some questions about the web servicies:
- what is the update frequency of data for tmf and for tm2 (I could find several rate on the forum). In the old API we had in all responses, the timestamp of the last update on Nadeo's servers thus, I could synchronise my cache with nadeo's one. How to know when Nadeo's cache is updated without this timestamp ? If both cache are not synchronised, some players may appears twice in the global ladder and others can not appear.
- Is there an equivalent of pubGetPlayerAllInfosById of the old API in the trackmania ws ? To display the complete account of a player (nick, ladder on all environments, tags, ...), only 1 request was needed. With the ws 9 requests are needed at least for the same result (8 requests are necessary for ladder information and 1 for tags).
- Is in the ws (trackmania and maniaplanet) an equivalent of prv* functions ? For example, getBudies method doesn't give as many information than prvGetPlayerBuddiesLadderMultiPlayers.
with no doubt, I will have others questions,
Thanks for your answer,
Fabien (smurf), tm-ladder.com
After months of inactivity, I will have time to develop the tm2 version of tm-ladder.com. In parallel, I will migrate the tmf section from the old depreciated API to trackmania web service.
Before coding the website, I have some questions about the web servicies:
- what is the update frequency of data for tmf and for tm2 (I could find several rate on the forum). In the old API we had in all responses, the timestamp of the last update on Nadeo's servers thus, I could synchronise my cache with nadeo's one. How to know when Nadeo's cache is updated without this timestamp ? If both cache are not synchronised, some players may appears twice in the global ladder and others can not appear.
- Is there an equivalent of pubGetPlayerAllInfosById of the old API in the trackmania ws ? To display the complete account of a player (nick, ladder on all environments, tags, ...), only 1 request was needed. With the ws 9 requests are needed at least for the same result (8 requests are necessary for ladder information and 1 for tags).
- Is in the ws (trackmania and maniaplanet) an equivalent of prv* functions ? For example, getBudies method doesn't give as many information than prvGetPlayerBuddiesLadderMultiPlayers.
with no doubt, I will have others questions,
Thanks for your answer,
Fabien (smurf), tm-ladder.com