| CARVIEW |
- Source
- Commits
- Network (2)
- Issues (0)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
| name | age | message | |
|---|---|---|---|
| |
LICENSE.txt | Mon Jul 19 16:14:01 -0700 2010 | Added BSD license text [drgath] |
| |
README.md | Sat Jul 10 16:19:00 -0700 2010 | Updated README [drgath] |
| |
examples/ | Mon Jul 19 16:12:05 -0700 2010 | Added BSD license text [drgath] |
| |
lib/ | Mon Jul 19 16:12:05 -0700 2010 | Added BSD license text [drgath] |
| |
package.json | Sat Jul 10 15:07:37 -0700 2010 | A new, updated README [drgath] |
node-yql
node-yql is a YQL module for NodeJS
What is YQL?
The Yahoo! Query Language is an expressive SQL-like language that lets you query, filter, and join data across Web services. With YQL, apps run faster with fewer lines of code and a smaller network footprint.
Yahoo! and other websites across the Internet make much of their structured data available to developers, primarily through Web services. To access and query these services, developers traditionally endure the pain of locating the right URLs and documentation to access and query each Web service.
With YQL, developers can access and shape data across the Internet through one simple language, eliminating the need to learn how to call different APIs.
Example YQL Queries
- SELECT title,abstract FROM search.web WHERE query="pizza";
- SELECT * FROM weather.forecast WHERE location = 90066;
- SELECT * FROM twitter.user.timeline WHERE id = 'yql';
- SELECT * FROM flickr.photos.interestingness(20);
You may find more examples at the YQL console
Installing node-yql
First, make sure you have Node installed. You can find instructions for installing it at https://nodejs.org/#download
With Node installed, you can install the node-yql module 2 ways:
1) You can clone the github repository
$ git clone https://github.com/drgath/node-yql.git
2) The easier method is to use NPM, node's package manager. Once you have NPM installed, simply run:
$ npm install yql
Use within Node
A basic example

YQL.exec()
yql.js exports a single method, exec.
function exec (string query [, function callback] [, object params] [, object options])
- query - A YQL query
- callback - A callback function that receives the result of the query
- params - Optional parameters for use within the YQL request querystring. Typical uses; including environment files, variable replacement within the YQL statement.
- opts - Options for use within exec
- https: A boolean true/false to turn on/off HTTPS (default: false)
- userAgent: A user-agent string (default: null)
Additional YQL Resources
- Documentation: https://developer.yahoo.com/yql/guide/
- Console: https://developer.yahoo.com/yql/console/
- © 2010 GitHub Inc. All rights reserved.
- Terms of Service
- Privacy
- Security
Keyboard Shortcuts
Site wide shortcuts
- s
- Focus site search
- ?
- Bring up this help dialog
Commit list
- j
- Move selected down
- k
- Move selected up
- t
- Open tree
- p
- Open parent
- c or o or enter
- Open commit
Pull request list
- j
- Move selected down
- k
- Move selected up
- o or enter
- Open issue
Issues
- j
- Move selected down
- k
- Move selected up
- x
- Toggle select target
- o or enter
- Open issue
- I
- Mark selected as read
- U
- Mark selected as unread
- e
- Close selected
- y
- Remove selected from view
- c
- Create issue
- l
- Create label
- i
- Back to inbox
- u
- Back to issues
- /
- Focus issues search
Network Graph
- ← or h
- Scroll left
- → or l
- Scroll right
- ↑ or k
- Scroll up
- ↓ or j
- Scroll down
- t
- Toggle visibility of head labels
- shift ← or shift h
- Scroll all the way left
- shift → or shift l
- Scroll all the way right
- shift ↑ or shift k
- Scroll all the way up
- shift ↓ or shift j
- Scroll all the way down