ManiaConnect new features

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:

ManiaConnect new features

Post by magnetik »

Hi,

I just pushed an updated with a few new features:
  • Authorization with smaller scope
  • Multiple redirection URI (one per line on the playerpage)
  • New scope 'favorite_servers' and endpoint '/favorites/servers/'
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: ManiaConnect new features

Post by steeffeen »

nice! :yes:

just tried it, smaller scope works great
(i have a small issue but i don't think there is a solution which can be done by you ^.^)

about favorite_servers
the scope authorization works well but performing the get request leads to a 404 error
API Response: 404 - Route not found "/favorites/servers/"
big thanks! :thx:
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

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

    Re: ManiaConnect new features

    Post by magnetik »

    What's your small issue?
    steeffeen wrote: about favorite_servers
    the scope authorization works well but performing the get request leads to a 404 error
    API Response: 404 - Route not found "/favorites/servers/"
    Humm, it's /player/favorites/servers/ :oops:
    ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
    User avatar
    jonthekiller
    Translator
    Translator
    Posts: 4629
    Joined: 15 Jun 2010, 11:07
    Location: In Maniaplanet Alpha
    Contact:

    Re: ManiaConnect new features

    Post by jonthekiller »

    Great for the favorite, I need them ^^
    Image
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: ManiaConnect new features

    Post by steeffeen »

    magnetik wrote:Humm, it's /player/favorites/servers/ :oops:
    hehe now it's working :D thanks!
    the list is only filled with online server, is that indended?

    the small issue:
    after being logged in with the basic scope and you want to access features of an extended scope you will need to login again with the bigger scope (you don't need to grant the access again, which is great!)
    so it's just the issue that you only have access to the scope of the current login and not to the maximum scope
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

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

      Re: ManiaConnect new features

      Post by magnetik »

      steeffeen wrote:
      magnetik wrote:Humm, it's /player/favorites/servers/ :oops:
      hehe now it's working :D thanks!
      the list is only filled with online server, is that indended?
      I may have done this too quickly, i'll take a look.
      steeffeen wrote: the small issue:
      after being logged in with the basic scope and you want to access features of an extended scope you will need to login again with the bigger scope (you don't need to grant the access again, which is great!)
      so it's just the issue that you only have access to the scope of the current login and not to the maximum scope
      [/quote]

      Hummm yep, I've added this behaviour on my "take a look" list. :thumbsup:
      ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
      User avatar
      TMarc
      Posts: 15255
      Joined: 05 Apr 2011, 19:10
      Location: Europe
      Contact:

      Re: ManiaConnect new features

      Post by TMarc »

      magnetik wrote:I may have done this too quickly, i'll take a look.
      Tststs :roll: :mrgreen: :thx:

      Steeffeen is not getting paid for testing :mrgreen: You should offer him a job 8-)
      magnetik wrote:Hummm yep, I've added this behaviour on my "take a look" list. :thumbsup:

      :thumbsup:
      How long is the list already? :oops:
      User avatar
      magnetik
      Posts: 1673
      Joined: 01 Feb 2012, 19:13
      Location: Bordeaux
      Contact:

      Re: ManiaConnect new features

      Post by magnetik »

      For some reason our "get favorite" function only retreive online servers,

      It will be some kind of limitation for now. :oops:
      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