Questions tagged [yelp]

RESTful web services for getting business information.

Yelp's API program enables you to access trusted Yelp information in real time, such as business listing info, overall business ratings and review counts, deals and recent review excerpts.

Resources:

395 questions
19
votes
2 answers

Using 'rvest' to extract links

I am trying to scrape data from Yelp. One step is to extract links from each restaurant. For example, I search restaurants in NYC and get some results. Then I want to extract the links of all the 10 restaurants Yelp recommends on page 1. Here is…
Allen
  • 337
  • 1
  • 3
  • 12
15
votes
4 answers

How to loop through JSON array using PHP

My PHP code: $obj = json_decode($data); print $obj->{'name'}; While it works for non-arrays, I can't for the life of me figure out how to print all the values within the "Reviews" Array. What I would like to do is to loop through this response,…
user2170611
  • 163
  • 1
  • 1
  • 5
8
votes
2 answers

Why isn't Yelp returning all of the results?

I am using the Business Search function in the Yelp Fusion Api. Why can't I seem to get all of the businesses? Here is an example: When I make this request, it returns a the first 20 results and a total property of…
Jack Fairfield
  • 1,510
  • 16
  • 23
8
votes
2 answers

Accessing Yelp API in PHP

I'm getting started with Yelp API v3 (Fusion). I have created an app, got Client ID and Client Secret. I understand that I need to get a token from Yelp API and then using business ID retrieve json data. I've found the following PHP code: $postData…
santa
  • 13,148
  • 42
  • 144
  • 230
8
votes
1 answer

iOS Yelp OAuth Token Retrieval with URLRequest returning "client_id or client_secret parameters not found

I am attempting to retrieve an OAuth token to use Yelp's Fusion API from an iOS client using the native URL and URLRequest classes, but it is giving me this error in the "tokenInfo" variable: client_id or client_secret parameters not found. Make…
dhruvm
  • 2,314
  • 2
  • 14
  • 22
7
votes
3 answers

Category Search in Yelp is not Filtering properly in nodejs. I have given category as "Restaurants" but my o/p is : parks and Playgrounds

I have been trying to implement the business search in yelp fusion. But I couldn't get the results, I have given the category in order to get filtered code: function yelpSearchReuslt(latitude,longitude,radius,listOfResult){ …
RAHUL SRV
  • 242
  • 2
  • 22
7
votes
3 answers

understanding arrow tips in MySQL Workbench EER diagram

I used the reverse-engineer function to generate an EER diagram of the Yelp dataset as per this question here. It looks like this: Does anyone know exactly how to interpret it? What do the arrow tips mean, eg the one with 3 tips and a line, the one…
cardamom
  • 5,099
  • 3
  • 35
  • 77
7
votes
3 answers

Dynamically replace image source with jQuery

I'm trying to replace the default Yelp star rating image for businesses with one of my own. To do so I need to find the corresponding image source for each of the possible 5 images that could have loaded. And then, based on that I need to load in…
David Hubler
  • 141
  • 1
  • 2
  • 9
6
votes
2 answers

Yelp Integration in Android

I have to integrate yelp api in my android app. I have never done it so need a bit of help. I want to know how do I start, what all things are required, etc. I tried implementing this code …
Gaurav
  • 1,640
  • 3
  • 22
  • 38
6
votes
3 answers

Yelp data file type

I have tried to open the file from the Yelp dataset challenge website (https://www.yelp.com/dataset_challenge). I have successfully done that, however, I cannot open the file, as it does not have an extension. It is about 4 GB. I thought it might've…
6
votes
4 answers

Errors with Yelp API output

I am trying to do something with Yelp API2 $response = json_decode($data); which returns data in a PHP object format that looks something like this: stdClass Object ( [region] => stdClass Object ( [span] => stdClass Object …
santa
  • 13,148
  • 42
  • 144
  • 230
6
votes
2 answers

Bad Request from Yelp API

Inspired by this Yelp tutorial, I created a script to search for all gyms in a given city. I tweaked the script with these updates in order to return ALL gyms, not just the first 20. You can find the gist here. The SEARCH_LIMIT is 20. I'm…
NumenorForLife
  • 1,636
  • 5
  • 25
  • 49
6
votes
1 answer

Yelp API and AngularJS

I'm trying to call the Yelp API using AngularJS, but I'm having trouble. I keep getting a 400 bad request and I don't know why. Yelp API…
ShadowCrossZero
  • 299
  • 2
  • 6
  • 15
6
votes
1 answer

How to make Yelp API request?

I am just trying to make a Yelp API request as part of an iPhone app and I don't know how to set up the request. I have all of my authentication keys via Yelp, but I'm not sure what all I need to include. I don't need to have users sign in to their…
djblue2009
  • 1,344
  • 17
  • 23
5
votes
2 answers

Looking for a swift way to generate OAuth 1 signature

I'm working on a small swift program to work with Yelp API over OAuth-1. I am looking to generate a HMAC-SHA1 signature. I have the customer key, secret key , token and token secret. From what I know, to make an API request with OAuth 1, we need the…
sau123
  • 343
  • 4
  • 15
1
2 3
26 27