Holy Shallot's database can be read by using this simple REST-ful API call:

http://www.holyshallot.com/data/[flavor]

The [flavor] argument is the database entry for which you would like to retrieve pairings. The server's response will be a plain text file of pairings, one per line of the form: “[flavor]\t[pairable flavor 1]\t[pairing strength 1]\n[flavor]\t[pairable flavor 2]\t[pairing strength 2]\n....” A pairing's strength ranges from 1 to 3, with 3 being the most typical and traditional of pairings.

A list of all query-able flavors in the database can be retrieved with the names call:

http://www.holyshallot.com/names

Holy Shallot
REST API
©2006 Something Modern LLC