Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (27 sloc) 1.013 kb
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Andrew Guyton</author>
<documentationURL>http://groups.google.com/group/foursquare-api/web/api-documentation</documentationURL>
<sampleQuery>select * from {table} where vid="1"</sampleQuery>
</meta>
<bindings>
<select itemPath="" produces="XML">
<urls>
<url>http://api.foursquare.com/v1/flagclosed</url>
</urls>
<inputs>
<key id="vid" type="xs:string" paramType="query" required="true" />
<key id="username" type="xs:string" paramType="variable" required="true" />
<key id="password" type="xs:string" paramType="variable" required="true" />
</inputs>
<execute>
<![CDATA[
y.include("http://yqlblog.net/samples/base64.js");
var authheader = "Basic "+Base64.encode(username+":"+password);
response.object = request.header("Authorization",authheader).post(y.queryParams).response;
]]>
</execute>
</select>
</bindings>
</table>
Jump to Line
Something went wrong with that request. Please try again.