Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d85e325d18
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (30 sloc) 1.313 kb
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<sampleQuery>select * from {table} where q="this is a test" and target="de";</sampleQuery>
</meta>
<bindings>
<select itemPath="json.responseData.translatedText" produces="JSON">
<urls>
<url>http://www.google.com/uds/Gtranslate?context=22&amp;langpair={source}%7C{target}&amp;v=1.0</url>
</urls>
<inputs>
<key id='q' type='xs:string' paramType='query' required="true" />
<key id='referer' type='xs:string' paramType='header'/>
<key id='key' type='xs:string' paramType='query' default="notsupplied"/>
<key id='source' type='xs:string' paramType='path' default="" />
<key id='target' type='xs:string' paramType='path' required="true" />
</inputs>
</select>
<select itemPath="json.responseData.language" produces="JSON">
<urls>
<url>http://www.google.com/uds/GlangDetect?context=22&amp;v=1.0</url>
</urls>
<inputs>
<key id='q' type='xs:string' paramType='query' required="true" />
<key id='referer' type='xs:string' paramType='header'/>
<key id='key' type='xs:string' paramType='query' default="notsupplied"/>
</inputs>
</select>
</bindings>
</table>
Jump to Line
Something went wrong with that request. Please try again.