
Check the main SDK topic for changelog and download link.

Moderator: NADEO
As far as I understand your post... the user data in this SDK were already available in the old statsserver thingie (except for the isOnline thing)? So I don't see the problem ...Jojo_44 wrote:Hi,
I hope it´s ok to post here. With this SDK you can access the user data without the access of the user. But what about player home where you must give the access ? Where is the context ?
An extra return called onServer (or something like that) giving the serverlogin would be great indeed!Jojo_44 wrote:Another thing is if it is possible to become a function where I can get the current server of a player. Maybe with the access of the user. So we can display it in a forum for example and other forum visitors can join your server and playing with you.
If you open http://developers.trackmania.com/ for the first time, you will be asked if you grant access to your account. Also the same thing here in the forum. Before your nickname, zone, and mp rank was shown you had to grant access to http://forum.maniaplanet.com. You see your linked websites at http://home.trackmania.com. And with this sdk you don´t have to agree. Thats what I mean.TheM wrote:As far as I understand your post... the user data in this SDK were already available in the old statsserver thingie (except for the isOnline thing)? So I don't see the problem ...
Code: Select all
$isOnline = $tmPlayers->isOnline($login1, $login2, $login3, ...);
Code: Select all
// Begin adding multiple requests, without having them executed now.
$tmfPlayer->get('m4rcel');
$tmfPlayer->get('gou1');
$tmfPlayer->isOnline('m4rcel');
// etc.
// At the end, we let them execute all with one request to the API
$response = $tmfPlayer->execute();
// $response will hold information about m4rcel and gou1, and the online state of m4rcel
Users browsing this forum: No registered users and 2 guests