node-yelp-fusion

1.0.4 • Public • Published

Install

npm install node-yelp-fusion --save

Usage

var Yelp = require('node-yelp-fusion');
var yelp=new Yelp({ id:key , secret:secret });
General search parameters
yelp.search("term=Biryani&location=New York")
    .then(function(result){
           res.json(result);
        });
Phone search Parameters
yelp.phoneSearch('phone=+12125551212')
    .then(function(result){
           res.json(result);
        });
Transactions search Parameters
yelp.transactionSearch("delivery","location=New York")
    .then(function(result){
           res.json(result);
        });
Business search Parameters
yelp.business("biryani-cart-new-york")
    .then(function(result){
           res.json(result);
        });
Reviews Parameters
yelp.reviews("biryani-cart-new-york")
    .then(function(result){
           res.json(result);
        });
Autocomplete Parameters
yelp.autoComplete("text=biryani&locale=en_SG")
    .then(function(result){
           res.json(result);
        });
References:

https://www.yelp.com/developers/documentation/v3/get_started

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    87
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    87
  • 1.0.3
    3
  • 1.0.2
    4
  • 1.0.1
    4
  • 1.0.0
    2

Package Sidebar

Install

npm i node-yelp-fusion

Weekly Downloads

10

Version

1.0.4

License

ISC

Last publish

Collaborators

  • chan11