Things which are missing in the API.

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

Moderator: NADEO

User avatar
magnetik
Posts: 1673
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Things which are missing in the API.

Post by magnetik »

- About all request asking for a "batch" version taking hundreds of data in input: it won't exist. For a quite simple reason: calling /servers/online/?login1=foo&login2=bar&login3 (with N parameters) takes the same amount of ressources on our architecture than calling N times /servers/foo/online/ and /servers/bar/online/ etc. (Yep network usage is lower with batch request but that's not what is costly on our architecture)
- UID of current server maps: we don't have them
- Information about relay server is on my todo list
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
User avatar
magnetik
Posts: 1673
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Things which are missing in the API.

Post by magnetik »

I've added the relay information. Player count is automatically corrected

For instance:

Code: Select all

Object
(
    [login] => adatm2_relay
    [owner] => ameliesachs_tm2
    [serverName] => $w$o$i$3f3 ĄÐĄ* TV 1
    [description] => Hosted by www.valid.cz
[...]
    [relayOf] => adatm2_match
[...]
)
[edit] Environment filtering should be working too
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: Things which are missing in the API.

Post by steeffeen »

wow that's looking promising!
good job :thumbsup:
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    Post Reply

    Return to “Maniaplanet Web Services”

    Who is online

    Users browsing this forum: No registered users and 1 guest