ManiaConnect new features

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

Moderator: NADEO

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

ManiaConnect new features

Post by magnetik » 21 May 2013, 10:36

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: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: ManiaConnect new features

Post by steeffeen » 21 May 2013, 10:51

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

    kremsy
    Posts: 1723
    Joined: 21 Jul 2011, 09:51

    Re: ManiaConnect new features

    Post by kremsy » 21 May 2013, 10:51

    Thank you very much magnetik!!!

    You are a real Hero :thumbsup:
    Lukas alias Kremsy, Developer of:
    ManiaControl: http://www.maniacontrol.com
    ParagonLeague: http://league.paragon-esports.com
    MPAseco: http://mpaseco.org
    ManiaViewer: http://www.maniaviewer.com

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

    Re: ManiaConnect new features

    Post by magnetik » 21 May 2013, 10:53

    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: 4680
    Joined: 15 Jun 2010, 11:07
    Location: In Maniaplanet Alpha
    Contact:

    Re: ManiaConnect new features

    Post by jonthekiller » 21 May 2013, 10:56

    Great for the favorite, I need them ^^
    Image

    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2472
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: ManiaConnect new features

    Post by steeffeen » 21 May 2013, 10:59

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

      Re: ManiaConnect new features

      Post by magnetik » 21 May 2013, 11:11

      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: 14947
      Joined: 05 Apr 2011, 19:10
      Location: Europe
      Contact:

      Re: ManiaConnect new features

      Post by TMarc » 22 May 2013, 00:29

      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:
      maniaplanet forum global moderator

      Link list with FAQ, Support, Wiki, Tutorials, Community activities, and much more.

      System specs: Intel i7-970 12GB RAM, nVidia RTX 2060 6GB, Creative SB X-Fi, 2xSSD 1xHDD

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

      Re: ManiaConnect new features

      Post by magnetik » 22 May 2013, 08:09

      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!

      kremsy
      Posts: 1723
      Joined: 21 Jul 2011, 09:51

      Re: ManiaConnect new features

      Post by kremsy » 22 May 2013, 09:09

      I think it's not a big Problem for us :thumbsup:.
      Lukas alias Kremsy, Developer of:
      ManiaControl: http://www.maniacontrol.com
      ParagonLeague: http://league.paragon-esports.com
      MPAseco: http://mpaseco.org
      ManiaViewer: http://www.maniaviewer.com

      Post Reply

      Return to “Maniaplanet Web Services”

      Who is online

      Users browsing this forum: No registered users and 2 guests