I can’t tell whether it’s YQL, Ruby, or my lil’YQL utility function, but I’m having fun. Here’s an example of usage: [sourcecode lang=“ruby”] json = yql(%{ use ‘http://www.datatables.org/github/github.repo.xml' as github; select * from github where id = ‘yql’ and repo = ‘yql-tables’ }) [/sourcecode]
Dig the multiline string syntax (inspiration: benschwarz’s Smoke gem). YQL allows POST requests for select statements (to work around URL-length limits), so I can continue to use POST for everything :)