forked from yql/yql-tables
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First YouTube table - get main video info.
- Loading branch information
1 parent
c085896
commit 6b875bd
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |