Permalink
Browse files

First YouTube table - get main video info.

  • Loading branch information...
1 parent c085896 commit 6b875bd6daf41aa4dbd98b06535a76ff99291e45 @guilhermechapiewski guilhermechapiewski committed Apr 20, 2010
Showing with 17 additions and 0 deletions.
  1. +17 −0 youtube/youtube.video.xml
View
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Guilherme Chapiewski</author>
+ <sampleQuery>select * from {table} where id='gmvQ1uA202M'</sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="result.video" produces="XML">
+ <urls>
+ <url>http://youtube-api.appspot.com/video</url>
+ </urls>
+ <inputs>
+ <key id="id" type="xs:string" paramType="query" required="true" />
+ </inputs>
+ </select>
+ </bindings>
+</table>

0 comments on commit 6b875bd

Please sign in to comment.