Yelp

Connecting people with great local businesses.

Integrate the Yelp API with the Bash API

Setup the Yelp API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Yelp and Bash remarkably fast. Free for developers.

Get Business Details with the Yelp API

Get details about a business See docs here

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it
List Business Reviews with the Yelp API

List the reviews for a business See docs here

 
Try it
Search Businesses with the Yelp API

Search businesses matching given criteria See docs here

 
Try it
Search Businesses By Phone Number with the Yelp API

Search businesses by phone number See docs here

 
Try it

Overview of Yelp

The Yelp API provides access to rich data on local businesses across various categories, including restaurants, bars, and service providers. Leveraging Yelp's API on Pipedream allows you to automate the retrieval of business information, ratings, and customer reviews, which can be instrumental in making data-driven decisions for market analysis, customer insights, or even personal use. By stitching the Yelp API into Pipedream workflows, you unlock potential for real-time monitoring, data collection, and cross-application synergy, enhancing your business intelligence and operational efficiency.

Connect Yelp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    yelp: {
      type: "app",
      app: "yelp",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.yelp.com/v3/businesses/search`,
      headers: {
        Authorization: `Bearer ${this.yelp.$auth.api_key}`,
      },
      params: {
        location: `san francisco, ca`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS