Request: Ladder API

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

smurf
happy cruiser
happy cruiser
Posts: 116
Joined: 26 Sep 2006 22:15
Owned TM-games: TMNF TMUF
Manialink(s): ladder example
Location: France
Contact:

Re: Request: Ladder API

Post by smurf » 29 Sep 2008 08:49

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 ;)
Image

GiDi
highway camper
highway camper
Posts: 2
Joined: 20 Oct 2008 20:03
Owned TM-games: TMU
Manialink(s): rbr

Re: Request: Ladder API

Post by GiDi » 20 Oct 2008 20:30

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

s0xen
happy cruiser
happy cruiser
Posts: 115
Joined: 11 Nov 2007 20:31
Owned TM-games: TMN

Re: Request: Ladder API

Post by s0xen » 25 Oct 2008 18:03

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.

smurf
happy cruiser
happy cruiser
Posts: 116
Joined: 26 Sep 2006 22:15
Owned TM-games: TMNF TMUF
Manialink(s): ladder example
Location: France
Contact:

Re: Request: Ladder API

Post by smurf » 25 Oct 2008 19:28

@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.
Image

GiDi
highway camper
highway camper
Posts: 2
Joined: 20 Oct 2008 20:03
Owned TM-games: TMU
Manialink(s): rbr

Re: Request: Ladder API

Post by GiDi » 25 Oct 2008 22:02

@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 ;)

User avatar
f*ckfish
Pit Crew
Pit Crew
Posts: 1302
Joined: 15 Jun 2007 07:59
Owned TM-games: TMNF, TMUF
Location: Dresden, Germany
Contact:

Re: Request: Ladder API

Post by f*ckfish » 27 Oct 2008 14:20

D'oh, totally missed that ;-) Thanks a lot to NADEO and smurf!
inactive, sorry

User avatar
f*ckfish
Pit Crew
Pit Crew
Posts: 1302
Joined: 15 Jun 2007 07:59
Owned TM-games: TMNF, TMUF
Location: Dresden, Germany
Contact:

Re: Request: Ladder API

Post by f*ckfish » 01 Nov 2008 17:32

Yay =) Works fine :3

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

s0xen
happy cruiser
happy cruiser
Posts: 115
Joined: 11 Nov 2007 20:31
Owned TM-games: TMN

Re: Request: Ladder API

Post by s0xen » 02 Nov 2008 17:50

f*ckfish wrote:Yay =) Works fine :3

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

User avatar
f*ckfish
Pit Crew
Pit Crew
Posts: 1302
Joined: 15 Jun 2007 07:59
Owned TM-games: TMNF, TMUF
Location: Dresden, Germany
Contact:

Re: Request: Ladder API

Post by f*ckfish » 07 Nov 2008 21:00

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.
inactive, sorry

User avatar
MISI
sunday driver
sunday driver
Posts: 54
Joined: 29 Oct 2006 20:46
Owned TM-games: TMO, TMN, TMUF
Location: Bydgoszcz, Poland
Contact:

Re: Request: Ladder API

Post by MISI » 30 Nov 2008 13:22

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? ;)

User avatar
f*ckfish
Pit Crew
Pit Crew
Posts: 1302
Joined: 15 Jun 2007 07:59
Owned TM-games: TMNF, TMUF
Location: Dresden, Germany
Contact:

Re: Request: Ladder API

Post by f*ckfish » 05 Dec 2008 19:08

Yes it will be released, I just built in cURL support for servers that don't support URL fopen.
inactive, sorry

User avatar
f*ckfish
Pit Crew
Pit Crew
Posts: 1302
Joined: 15 Jun 2007 07:59
Owned TM-games: TMNF, TMUF
Location: Dresden, Germany
Contact:

Re: Request: Ladder API

Post by f*ckfish » 06 Dec 2008 17:46

inactive, sorry

User avatar
Legor
Developer
Developer
Posts: 276
Joined: 10 Aug 2005 08:49
Contact:

Re: Request: Ladder API

Post by Legor » 21 Jan 2010 18:03

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

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: Request: Ladder API

Post by w1lla » 21 Jan 2010 19:40

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

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

fastforza
Pit Crew
Pit Crew
Posts: 107
Joined: 23 Feb 2008 03:11
Owned TM-games: TMUF & TMNF
Manialink(s): forzyy, tracks, mx
Location: Melbourne, VIC, Australia
Contact:

Re: Request: Ladder API

Post by fastforza » 22 Jan 2010 07:57

Swoit. :) Thanks for the new method :3
Mania Exchange (http://mania-exchange.com). Join us in September.

Post Reply