Page 1 of 2
getFilteredList issue
Posted: 11 Mar 2014, 13:16
by spaii
Hi,
there is an issue since today with :
Code: Select all
$Servers->getFilteredList(array('environment'=>'Canyon', 'title'=>'Stunters@spaii', 'mode'=>'Stunters', 'playersMin'=>0, 'hideFull'=>false, 'visibility'=>'all', 'zone'=>'World', 'length'=>20));
This code supposed to filter servers and seems to not work today...
Result :
http://servers.stunters.org/
Thx

Re: getFilteredList issue
Posted: 11 Mar 2014, 13:35
by magnetik
I've updated the endpoint with different filter.
Could you try with only :
Code: Select all
$Servers->getFilteredList(array('titleIds'=>'Stunters@spaii', 'length'=>20));
Re: getFilteredList issue
Posted: 11 Mar 2014, 14:16
by spaii
Re: getFilteredList issue
Posted: 11 Mar 2014, 16:30
by magnetik
Sorry for the delay.
I've changed the argument name, it's titleUids
Current supported :
Code: Select all
[39] => Array
[url] => https://ws.maniaplanet.com/servers/
[params] => Array
[0] => titleUids
[1] => zoneId <== not done yet
[2] => hideFull
[3] => hideEmpty
[4] => offset
[5] => length
I have done a special endpoint that list all current endpoints, I will probably release it tomorrow

Re: getFilteredList issue
Posted: 11 Mar 2014, 16:55
by spaii
It works
Thx

Re: getFilteredList issue
Posted: 11 Mar 2014, 17:00
by spaii
Erf, works with Stunters@spaii and ValleyStunters@spaii, but not with StadiumStunters@spaii
Re: getFilteredList issue
Posted: 12 Mar 2014, 14:45
by jonthekiller
It's no more possible to filter by environments? Else how can we take the complete list of titles?
Re: getFilteredList issue
Posted: 12 Mar 2014, 14:46
by magnetik
If you don't give any title filter, you'll get the full title list
Re: getFilteredList issue
Posted: 12 Mar 2014, 15:03
by jonthekiller
Ok, I see now a dependency who show the "root title" of each title. I will adapt my script, thanks.
Re: getFilteredList issue
Posted: 12 Mar 2014, 15:08
by magnetik
Sorry for this unannounced change. We don't really use the "environment" internally and the code was really not working.
