wonderfl API Overview
Here are some things wonderfl API developers should know.
<username> is the user id, which appears in urls like: http://wonderfl.net/user/<username>
<codeid> is the code id, which appears in urls like: http://wonderfl.net/c/<codeid>
All API methods are HTTP based.
All of the API methods use HTTP GET methods for now.
Future API methods might use POST or other methods.
API is hosted at:
Response data format is JSON.
When request is not valid, response content will be something like:
where stat is "fail" and message has the error message.
When request is valid, response content will be something like:
where stat is "ok" and ...snip... replaced with API results.
when calling the API from code posted on wonderfl.net,
you can get your API key through Flashvars.
so don't use your own API key.
the API key in Flashvars may change once in a while, but if your code gets the key from Flashvars,
future access from the swf will be permitted.