Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (19 sloc) 0.665 kb
1930b8e @olalonde edited README
authored
1 Node.js module for interfacing with [Yelp](http://www.yelp.com)'s API v2.0
2
3 # Install #
4
5 npm install yelp
6
7 # Usage #
8
9 // Request API access: http://www.yelp.com/developers/getting_started/api_access
10
11 var yelp = require("yelp").createClient({
12 consumer_key: "consumer-key",
13 consumer_secret: "consumer-secret",
14 token: "token",
15 token_secret: "token-secret"
16 });
17
18
19 yelp.search({term: "food", location: "Montreal"}, function(error, data) {
20 console.log(error);
21 console.log(data);
22 });
23
24 yelp.business("yelp-san-francisco", function(error, data) {
25 console.log(error);
26 console.log(data);
27 });
Something went wrong with that request. Please try again.