Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 2 commits behind davglass:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
tests
LICENSE
README.textile
yql-min.js
yql.js

README.textile

YQL sugar for YUI3

    YUI().use('yql', function(Y) {
        //Using events
        var q1 = new Y.yql('select * from github.user.info where (id = "davglass")');
        q1.on('query', function(r) {
            //Do something here.
        });
        q1.on('error', function(r) {
            //Do something here.
        });
        //Or the callback approach
        new Y.yql('select * from github.user.info where (id = "davglass")', function(r) {
            //Do something here.
            r.query; //The result
            r.error; //The error message
        });
    });
Something went wrong with that request. Please try again.