Page 3 of 4
Re: API/SDK Version 4.x
Posted: 28 Jun 2013, 01:22
by weerwolf
/examples/servers.php
Code: Select all
Error! HTTP Response: 404 Not Found API Response: Record not found (404)
I adore the things API/SDK has to offer, but i find myself in constant conflict with examples
that do not work or changing class names or something?
If i may say so im experiencing the information around this a horror
SO anyone can give me a boost here?

Re: API/SDK Version 4.x
Posted: 28 Jun 2013, 09:29
by w1lla
weerwolf wrote:/examples/servers.php
Code: Select all
Error! HTTP Response: 404 Not Found API Response: Record not found (404)
I adore the things API/SDK has to offer, but i find myself in constant conflict with examples
that do not work or changing class names or something?
If i may say so im experiencing the information around this a horror
SO anyone can give me a boost here?

Change zone
to
Re: API/SDK Version 4.x
Posted: 28 Jun 2013, 09:44
by magnetik
The example has been fixed.
Thanks for the report.
Re: API/SDK Version 4.x
Posted: 28 Jun 2013, 10:59
by weerwolf
It works! tnx W1lla
yw Magnetik

Re: API/SDK Version 4.x
Posted: 01 Jul 2013, 09:47
by w1lla
When connecting through the https:// part of the MPWS website i always get the information returned: Trackmania Web Services API so it seems to me there is a header issue in the "borrowed" code.
with kind regards,
w1lla
Re: API/SDK Version 4.x
Posted: 01 Jul 2013, 09:51
by magnetik
Changed in next version

Re: API/SDK Version 4.x
Posted: 11 Jul 2013, 13:50
by Xymph
From
http://forum.maniaplanet.com/viewtopic. ... 46#p178146 :
magnetik wrote:I've added an endpoint : '/players/:login/maniastars'
Nice. But what about
starday votes?
Also, when/where is the maniastars value available via the PHP SDK?
I don't see it in the \Maniaplanet\WebServices\Players->get(<login>) results.
Re: API/SDK Version 4.x
Posted: 11 Jul 2013, 14:07
by magnetik
It's on a separated endpoint, and a separated function (getManiaStars()), available only in SVN version for now.
For the stardays, it's not planned to make them available for now.
Re: API/SDK Version 4.x
Posted: 11 Jul 2013, 14:17
by steeffeen
do you mean the method or the endpoint?
because when trying the endpoint it says "not found"
http://ws.maniaplanet.com/players/steeffeen/maniastars
//Edit: lul it's the ending / ...
http://ws.maniaplanet.com/players/steeffeen/maniastars/
works fine

Re: API/SDK Version 4.x
Posted: 11 Jul 2013, 14:27
by magnetik
Damn you coded such a bad webservice
