User Tools

Site Tools


misc:penny_arcade_random

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
misc:penny_arcade_random [2013/05/28 20:11] – created jaymisc:penny_arcade_random [2013/05/28 20:15] – [API] jay
Line 7: Line 7:
  
 ==== API ==== ==== API ====
-If anyone is interested in using just the "API", feel free to do so.  It is just a cgi page that takes some options and returns some JSON.  Here are the different query string options:+If anyone is interested in using just the "API", feel free to do so.  It is just a cgi page that takes some options and returns some JSON.  The base "API" CGI lives at [[http://pa.splitstreams.com/pa.cgi]].  Here are the different query string options:
  
 ^ Key ^ Values ^ Description ^ ^ Key ^ Values ^ Description ^
Line 16: Line 16:
  
 As you can see, this is pretty simple.  If you want to generate a JSON response with all options set, just do [[http://pa.splitstreams.com/pa.cgi?gset=1&gset=2&gold=1&bal=1&pp=1]]. As you can see, this is pretty simple.  If you want to generate a JSON response with all options set, just do [[http://pa.splitstreams.com/pa.cgi?gset=1&gset=2&gold=1&bal=1&pp=1]].
 +
 +==== Source Code ====
 +If anyone is actually interested in getting the source for this, let me know.  It's not very good (one more time, totally hacked this out one afternoon), but just send me an email and I could add it to github or something.  Otherwise, use the site/API as you desire.
misc/penny_arcade_random.txt · Last modified: 2014/09/04 21:00 by jay