Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
branch: master
Failed to load latest commit information.
README.md update title string
jquery.query-yql.js version 0.4.1
jquery.query-yql.min.js version 0.4.1
query-yql.jquery.json add jQuery plugin manifest
test.html Update URL

README.md

jQuery Plugin: Query YQL v0.4.1

Query YQL simply.

Usage

Query YQL:

var statement = "select * from feed where url='http://example.com/rss'";
$.queryYQL(statement, function (data) {
  // do something with "data".
});

Query YQL (full):

var statement = "select * from feed where url='http://example.com/rss'";
$.queryYQL(statement, "json", undefined, function (data) {
  // do something with "data".
});

Query YQL with JSONP-X:

var statement = "select * from html where url='http://example.com/' and xpath='//h1'";
$.queryYQL(statement, "xml", function (data) {
  // do something with "data".
});

Query YQL with Open Data Table:

var statement = "select * from google.translate where q='This is a test.' and target='ja'";
$.queryYQL(statement, "all", function (data) {
  // do something with "data".
});

Query YQL with Open Data Table (custom URL):

var statement = "select * from example.table where q='foobar'";
$.queryYQL(statement, "http://example.com/tables.env", function (data) {
  // do something with "data".
});

LICENSE

MIT: http://hail2u.mit-license.org/2009

Something went wrong with that request. Please try again.