Skip to content

Instantly share code, notes, and snippets.

@pjdonnelly
Created July 19, 2012 21:19
Show Gist options
  • Save pjdonnelly/3146899 to your computer and use it in GitHub Desktop.
Save pjdonnelly/3146899 to your computer and use it in GitHub Desktop.
Sample YQL table with y.pipe method
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author></author>
<description></description>
<documentationURL></documentationURL>
<sampleQuery>select * from {table}</sampleQuery>
</meta>
<bindings>
<select itemPath="" produces="XML">
<urls>
<url></url>
</urls>
<inputs>
<key id="" type="xs:string" paramType="query" />
</inputs>
<execute>
<![CDATA[
response.object = y.pipe("990bf4c00040ad06ba83de9aadd6293b",{textinput1: "las vegas",textinput2: "this works"}).results;
]]>
</execute>
</select>
</bindings>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment