Skip to content

Instantly share code, notes, and snippets.

@pjdonnelly
Created March 27, 2013 23:27
Show Gist options
  • Save pjdonnelly/5259092 to your computer and use it in GitHub Desktop.
Save pjdonnelly/5259092 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Seon-Wook Park</author>
<sampleQuery>select * from {table}</sampleQuery>
</meta>
<bindings>
<select itemPath="" produces="JSON">
<urls><url /></urls>
<inputs>
<key id='url' type='xs:string' paramType='variable' required='true' />
</inputs>
<execute>
<![CDATA[
response.object = y.rest(url).accept('application/json').jsonCompat('new').get().response;
]]>
</execute>
</select>
</bindings>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment