Page 1 of 1

All zones

Posted: 09 May 2011, 11:23
by fastforza
Shouldn't /zones/all/ return all zones?

Re: All zones

Posted: 09 May 2011, 11:43
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

Re: All zones

Posted: 09 May 2011, 11:49
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.

Re: All zones

Posted: 09 May 2011, 11:51
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.

Re: All zones

Posted: 09 May 2011, 12:00
by fastforza
Alright. :)