Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
High Score API
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Simon Wittber  
View profile  
 More options Aug 7 2008, 11:25 am
From: Simon Wittber <simonwitt...@gmail.com>
Date: Thu, 7 Aug 2008 08:25:01 -0700 (PDT)
Local: Thurs, Aug 7 2008 11:25 am
Subject: High Score API

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!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Wittber  
View profile  
 More options Aug 7 2008, 11:32 am
From: Simon Wittber <simonwitt...@gmail.com>
Date: Thu, 7 Aug 2008 08:32:07 -0700 (PDT)
Local: Thurs, Aug 7 2008 11:32 am
Subject: Re: High Score API
Update: Scores are now limited to 1000 instead of 10.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Crispin Wellington  
View profile  
 More options Aug 8 2008, 3:22 am
From: Crispin Wellington <retrogradeor...@gmail.com>
Date: Fri, 8 Aug 2008 00:22:10 -0700 (PDT)
Local: Fri, Aug 8 2008 3:22 am
Subject: Re: High Score API
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Wittber  
View profile  
 More options Aug 8 2008, 7:36 am
From: "Simon Wittber" <simonwitt...@gmail.com>
Date: Fri, 8 Aug 2008 19:36:24 +0800
Local: Fri, Aug 8 2008 7:36 am
Subject: Re: High Score API
tag is currently only alpha numerics. will change this soon.

On Fri, Aug 8, 2008 at 3:22 PM, Crispin Wellington

--
 :: Simon Wittber
 :: http://www.linkedin.com/in/simonwittber
 :: phone: +61.4.0135.0685
 :: jabber/msn: simonwitt...@gmail.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google