All zones

Trackmania Forever public API and its open source PHP SDK.

Moderator: NADEO

Post Reply
User avatar
fastforza
Posts: 850
Joined: 15 Jun 2010, 11:19
Contact:

All zones

Post by fastforza »

Shouldn't /zones/all/ return all zones?
Mania Exchange - Share your maps!

ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti

Need technical help for ManiaPlanet? Click here. :)
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: All zones

Post by w1lla »

With this code

Code: Select all

->getAll($offset = 0, $length = 10, $sort = '', $order = '');
i get as a response this:

http://tmrankings.com/intr/examples/test1.php
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
User avatar
fastforza
Posts: 850
Joined: 15 Jun 2010, 11:19
Contact:

Re: All zones

Post by fastforza »

Oh I see. I was just expecting every single zone. :lol: I'm not really looking at the PHP SDK as I'm writing the .NET wrapper and I'm looking at the method list on the developer portal.
Mania Exchange - Share your maps!

ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti

Need technical help for ManiaPlanet? Click here. :)
User avatar
gouxim
Nadeo
Nadeo
Posts: 1186
Joined: 14 Jun 2010, 17:20

Re: All zones

Post by gouxim »

It returns a list startint at "offset" and of "length" elements (I think max is 100). I agree the ressource "/tmf/zones/all/" is not perfectly named. We'll change that to just "/tmf/zones/" for the next release.
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
User avatar
fastforza
Posts: 850
Joined: 15 Jun 2010, 11:19
Contact:

Re: All zones

Post by fastforza »

Alright. :)
Mania Exchange - Share your maps!

ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti

Need technical help for ManiaPlanet? Click here. :)
Post Reply

Return to “Trackmania Forever Web Services”

Who is online

Users browsing this forum: No registered users and 1 guest