zones requests issue

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

Moderator: NADEO

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

zones requests issue

Post by schtroumf »

Hi,
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
chco
Posts: 290
Joined: 24 Dec 2012, 09:11

Re: zones requests issue

Post by chco »

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
magnetik
Posts: 1673
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: zones requests issue

Post by magnetik »

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 1 guest