Skip to content

Instantly share code, notes, and snippets.

@dtuominen
Created February 13, 2013 16:56
Show Gist options
  • Save dtuominen/4946067 to your computer and use it in GitHub Desktop.
Save dtuominen/4946067 to your computer and use it in GitHub Desktop.
http://astroman.us/player/28
get request to http://api.goonpug.com/[LAST 4 of STEAMID?]
should return:
{
"stats": {
"rws": "25",
"kills": "420",
"deaths": "10"
},
"playerinfo": {
"steam_id": "steam_1:1:1234",
"name": "grip^"
}
}
@pmrowla
Copy link

pmrowla commented Feb 13, 2013

The json works, but I think the URL will need to be something like goonpug.com/api/stats/player/steamid/[12345]

At least, I think that's the flask-y way to build a url like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment