<retrogradeor
...@gmail.com> wrote:
> Simon,
> cwellington@wolfwood:~$ curl -F tag="Player 1" -F value=10 -F
> key=**HIDDEN** http://gamejam.org/teams/Orbit/setscore/
> {"errors": {"tag": "The input is not valid"}, "error": "validation"}
> What format can tag be? Why is it failing validation? Any ideas?
> Crispin
> On Aug 7, 3:25 pm, Simon Wittber <simonwitt...@gmail.com> wrote:
>> To add a new high score, you need to use a HTTP POST request. Simply
>> POST to:
>> http://gamejam.org/teams/[your team name]/setscore/
>> with the following fields:
>> tag : the players 'tag'
>> value : an integer score
>> key : your team API key
>> You can get your API key from your team page when you are logged in.
>> To get a list of high scores, simply use a HTTP GET request to:
>> http://gamejam.org/teams/[your team name]/scores/
>> which will return your high scores. Each high score is separate by a
>> "\n" character, and consists of the tag, value and score age separated
>> by the ":" character. Eg,
>> bill:1001:5 seconds ago
>> ted:999:5 seconds ago
>> death:100:4 hours ago
>> There is a limit of 10 high scores per team.
>> Any questions or bugs lemme know!
--