When I try to use "/players/:login/teams" in web APIs I get a 404 error.
(The player login is correct)
WebAPI Issue
Moderator: NADEO
Re: WebAPI Issue
how did you came to the idea that this endpoint exists anyways?
Re: WebAPI Issue
in this post: http://forum.maniaplanet.com/viewtopic. ... 82&t=11895magnetik wrote:NEW : /players/:login/teams
Re: WebAPI Issue
mkay, i think the information is either outdated or just wrong ^^
Re: WebAPI Issue
It can be usefull ![Sad :(](./images/smilies/icon_e_sad.gif)
I'm making an Android app that needs that function![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Sad :(](./images/smilies/icon_e_sad.gif)
I'm making an Android app that needs that function
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Re: WebAPI Issue
you will need to use maniaconnect i guess, in order to get the teams of a specific player he will need to login and grant you the permission to access them
alternatively you can use ManiaPlanet\WebServices\Teams in case you have the team id already
alternatively you can use ManiaPlanet\WebServices\Teams in case you have the team id already
Re: WebAPI Issue
I don't have the team id & I want to retrive teams of another player so I don't have any password, I think I'll drop that function at the moment ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: WebAPI Issue
You can't access the teams of any player.
You can have the teams of a specific player using oauth2. (See ManiaConnect/Player.php)
You can have the teams of a specific player using oauth2. (See ManiaConnect/Player.php)
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
Who is online
Users browsing this forum: No registered users and 0 guests