Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hail2u/jquery.query-yql
Query YQL simply.
https://github.com/hail2u/jquery.query-yql
Last synced: about 2 months ago
JSON representation
Query YQL simply.
- Host: GitHub
- URL: https://github.com/hail2u/jquery.query-yql
- Owner: hail2u
- Archived: true
- Created: 2009-07-09T15:11:20.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2016-06-14T15:39:55.000Z (over 8 years ago)
- Last Synced: 2024-05-28T11:12:57.707Z (4 months ago)
- Language: HTML
- Homepage: http://hail2u.github.io/jquery.query-yql/
- Size: 17.6 KB
- Stars: 48
- Watchers: 9
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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