Informations empty on some endpoints

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

Moderator: NADEO

Post Reply
User avatar
spaii
Posts: 1075
Joined: 19 Jun 2010, 00:04
Location: Rémy - France
Contact:

Informations empty on some endpoints

Post by spaii »

Hi,

with endpoints /player/titles/owned/ (ManiaConnect)
Environment is empty on all title packs and web is empty on some title packs. (cf screenshot)

With endpoint /servers/? (getFilteredList in WSSDK) : all Environment are empty.

Image


BTW, is this possible to know in endpoints /player/titles/owned/ if a player has deposed his title on cloud or not ?

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

Re: Informations empty on some endpoints

Post by magnetik »

Humm, this "Environment" variable is kinda useless because there is not such concept in ManiaPlanet.

In fact there is a "parent title" and we should make it public :thumbsup:
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
User avatar
spaii
Posts: 1075
Joined: 19 Jun 2010, 00:04
Location: Rémy - France
Contact:

Re: Informations empty on some endpoints

Post by spaii »

:yes: Ohh Yeah !!!

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

Re: Informations empty on some endpoints

Post by magnetik »

You should have an attribute "dependencies" which will contain "SMStorm" or "TMValley" (or else) in every Title objects.

(There is a long cache on this, so it may take some time to be present)
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: Informations empty on some endpoints

Post by steeffeen »

sounds good

"dependies" -> multi-env titles confirmed!
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    spaii
    Posts: 1075
    Joined: 19 Jun 2010, 00:04
    Location: Rémy - France
    Contact:

    Re: Informations empty on some endpoints

    Post by spaii »

    :D :D :D
    magnetik wrote:You should have an attribute "dependencies" which will contain "SMStorm" or "TMValley" (or else) in every Title objects.
    Yes :thumbsup:
    magnetik wrote:(There is a long cache on this, so it may take some time to be present)
    Effectively, only some has dependencies. At start i would like to request informations (every day or hour) on each title that don't have dependencies populated in my database, but there is no way other than maniaconnect to have these informations. I have to waiting for player connects with his account to update dependencies. But it's a good start :D :clap:

    :thx: a lot magnetik !!
    Post Reply

    Return to “Maniaplanet Web Services”

    Who is online

    Users browsing this forum: No registered users and 0 guests