Socket
Book a DemoInstallSign in
Socket

node-yelp-fusion

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-yelp-fusion

Node.js module for interfacing with Yelp's API v3.0(Fusion)

1.0.4
latest
Source
npmnpm
Version published
Weekly downloads
10
400%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

Yelp

FAQs

Package last updated on 06 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.