Skip to content

Instantly share code, notes, and snippets.

@mabako

mabako/api.js Secret

Last active January 4, 2016 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mabako/7951b3be62fdd169dbc9 to your computer and use it in GitHub Desktop.
Save mabako/7951b3be62fdd169dbc9 to your computer and use it in GitHub Desktop.
// GET http://www.sgtools.info/api/4d000ee0-b27e-11e5-b2c0-0663045ed9e8 with PHPSESSID=[whatever]
{
state: "success",
storeId: 319630,
storeType: "app", // or "sub"
gameName = "Life is StrangeTM",
creator = "someguy",
startDate = "1.1.2016 01:00:00",
endDate = "5.1.2016 01:00:00",
requirements: [
{ name = "Maximum Entries: 50", passed = true },
{ name = "Your account must have activated all the won gifts", passed = true },
{ name = "Your account is not allowed to have won the same game multiple times.", passed = true },
{ name = 'Your account must never been VAC banned.', passed = true }
],
url: "...", // blank if a requirement check failed
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment