Created
February 13, 2013 16:56
-
-
Save dtuominen/4946067 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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^" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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