UNPKG

yql-client

Version:

Nodejs client lib for the Yahoo YQL service.

25 lines (20 loc) 590 B
##YQL client with no external dependencies. *inspired by the YUI3 YQL Module. ###to use: ```javascript var YQLClient = require('yql'), YQL = YQLClient.YQL; YQL('select * from weather.forecast where location=90210', function(r) { //r now contains the result of the YQL Query //use the YQL Developer console to learn //what data is coming back in this object //and how that data is structured. }); ``` ###to test: first run npm install then: ```shell npm test ``` ###All functionality is identical to that of the YUI3 YQL module. https://yuilibrary.com/yui/docs/yql/