Page 2 of 3

Re: Request: Ladder API

Posted: 29 Sep 2008 08:49
by smurf
Hi all,
Stats server is now available for all who want. To have an access, please read the following topic: http://forum.maniaplanet.com/viewforum.php?f=206

Servers seems to have some few problems last days but generaly they works well.

For information:
- ladder datas are updated once a day, so it's useless to make request each 5 minutes.
- be carefull, there is a max number of requests per login and per day ;)

Re: Request: Ladder API

Posted: 20 Oct 2008 20:30
by GiDi
hi all,

thx to NADEO for the API..
but could you help me?

it's seem that the PHP syntax give error 'Failed to open Stream'...

Code: Select all

$url = "https://login:pass@url/pubGetPlayerAllInfosById.php?idplayer=3745";
$xml = file_get_contents($url);
it is right or no?

NADEO give me correct account and good Url
When i join the same url in Firefox the link return a good xml file
What's the problem?

GiDi

Re: Request: Ladder API

Posted: 25 Oct 2008 18:03
by s0xen
Hi nice,
But when it is made by nadeo and released it would be nice to make a demo.zip.
With just ladder nickname and login system or something.

And some more information how to use the api.

Re: Request: Ladder API

Posted: 25 Oct 2008 19:28
by smurf
@gidi:
You must replace login, pass and url by those Nadeo transmited to you.
Moreover, you must activate the php_opsensll extension to do https with a file_get_contents.

Re: Request: Ladder API

Posted: 25 Oct 2008 22:02
by GiDi
@soXen

+1 for Nadeo ... a little demo.zip should be nice for phpnoob like me
(Alinoa give a acces to a documentation and scripts but you must know PHP code and xml)

@smurf

many thx, you give me a very important answer .. you give me the way (php_openssl is important) ... you're a master guy
nice to see you
don't forget to visit http://www.tm-ladder.com the powerfull Website made by smurf ;)

Re: Request: Ladder API

Posted: 27 Oct 2008 14:20
by f*ckfish
D'oh, totally missed that ;-) Thanks a lot to NADEO and smurf!

Re: Request: Ladder API

Posted: 01 Nov 2008 17:32
by f*ckfish
Yay =) Works fine :3

There may be a TMFInfoFetcher in the near future ;-)

Re: Request: Ladder API

Posted: 02 Nov 2008 17:50
by s0xen
f*ckfish wrote:Yay =) Works fine :3

There may be a TMFInfoFetcher in the near future ;-)
May or is? :lol:

Re: Request: Ladder API

Posted: 07 Nov 2008 21:00
by f*ckfish
I just got NADEO's approval to release my TMFDataFetcher class which will be available soon. I just have to do some tweaking and then it's good to go.

ATTENTION: You'll need an account for the stats server which you can get here and a running mysql database since the data fetcher incorporates caching which is mandatory for the use of the stats server.

Re: Request: Ladder API

Posted: 30 Nov 2008 13:22
by MISI
f*ckfish wrote:I just got NADEO's approval to release my TMFDataFetcher class which will be available soon. I just have to do some tweaking and then it's good to go.
How goes work on TMFDataFetcher? Will it be released? ;)

Re: Request: Ladder API

Posted: 05 Dec 2008 19:08
by f*ckfish
Yes it will be released, I just built in cURL support for servers that don't support URL fopen.

Re: Request: Ladder API

Posted: 06 Dec 2008 17:46
by f*ckfish

Re: Request: Ladder API

Posted: 21 Jan 2010 18:03
by Legor
Hi,

FYI, you can get the answers to the recent ingame poll "Are you happy ?" in XML format here :
http://stats.trackmaniaforever.com/docu ... swersZones

Re: Request: Ladder API

Posted: 21 Jan 2010 19:40
by w1lla
just a few quick questions Legor;

Will there be more polls ingame?!

Or that you can join tournaments with just one click like this poll?

Anyway nice to see this... : 10/10

Re: Request: Ladder API

Posted: 22 Jan 2010 07:57
by fastforza
Swoit. :) Thanks for the new method :3