Tiny Search Api
Friday, January 26th, 2007
[Update: the tiny icon factory has moved from tiny.media.mit.edu to tiny.tacolab.com]
This an example search form using json, that retrieves the first 252 or less icons matching a given term from the Tiny Icon Factory. I am using Brent's new REST style search API for the Tiny framework. It is very simple to use, you just have to query the server with a URL that looks like this:
http://tiny.tacolab.com/search/[term].[format]
where term stands for what you're searching for, and format can be html, xml, or json (term.js in this case), with html as the default. When using json, you can optionally provide a name for a callback function:
http://tiny.tacolab.com/search/tiny.js?callback=myfunction
You can visit the Tiny Search Documentation page for more detailed information on how to use this API. These are a few examples using html:
http://tiny.tacolab.com/search/obey.html
http://tiny.tacolab.com/search/sun.html
http://tiny.tacolab.com/search/slime.html
http://tiny.tacolab.com/search/lock.html
It is interesting what you get when you search for love:
http://tiny.tacolab.com/search/love.html
You get contradiction.
Here are links to the icons named with the 13 first positive integers:
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13. Weird.
Other fun things to try: any letter from the alphabet (a, t, or any other), no,
pong, joe, play, martini, jesus ... or anything else (almost).










