zones requests issue

Maniaplanet public API, ManiaConnect system and the open source PHP SDK.

Moderator: NADEO

Post Reply
Posts: 22
Joined: 10 Jan 2011, 18:31
Location: Région bordelaise

zones requests issue

Post by schtroumf » 21 Jun 2013, 14:41

When you make a request on getPopulation method, sometimes the result is an int an sometimes it's a string. Is it the expected result ?

getPopulation for id 1 => int 723844
getPopulation for id 5 => string '3506' (length=4)


The get request on zones doesn't return the pathId.

User avatar
Posts: 301
Joined: 24 Dec 2012, 09:11

Re: zones requests issue

Post by chco » 28 Jun 2013, 15:48

Would be very nice if we could add the Title to the getpopulation. So we get the number of players per zone, per title.

User avatar
Posts: 1677
Joined: 01 Feb 2012, 19:13
Location: Bordeaux

Re: zones requests issue

Post by magnetik » 30 Jun 2013, 10:06

I have added the bug of getPopulation returning string or int to my todo.

I'm not sure why you need the pathid ?
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!

Post Reply

Return to “Maniaplanet Web Services”

Who is online

Users browsing this forum: No registered users and 2 guests