yelp

Library for interfacing with Yelp's API v2.0.

npm install yelp
4 downloads in the last day
87 downloads in the last week
571 downloads in the last month

Node.js module for interfacing with Yelp's API v2.0

Install

npm install yelp

Usage

// Request API access: http://www.yelp.com/developers/getting_started/api_access

var yelp = require("yelp").createClient({
  consumer_key: "consumer-key", 
  consumer_secret: "consumer-secret",
  token: "token",
  token_secret: "token-secret"
});

// See http://www.yelp.com/developers/documentation/v2/search_api
yelp.search({term: "food", location: "Montreal"}, function(error, data) {
  console.log(error);
  console.log(data);
});

// See http://www.yelp.com/developers/documentation/v2/business
yelp.business("yelp-san-francisco", function(error, data) {
  console.log(error);
  console.log(data);
});

References

npm loves you