Questions tagged [yelp-fusion-api]

This tag should be used for questions related to the use of the Yelp Fusion API, an API that gives developers access to Yelp’s wealth of content and reviews about businesses.

This tag should be used for questions related to the use of the Yelp Fusion API.

The Yelp Fusion API allows you to retrieve and integrate content from Yelp in your own application. The API is designed to search for content about businesses based on keywords, categories, location, price level, phone numbers, offered services, etc. You can retrieve business data, such as name, address, phone number, photos, price levels, hours of operation, Yelp rating, and reviews.

See https://www.yelp.com/fusion for more information about the Yelp Fusion API.

60 questions
1
vote
1 answer

Difficulty integrating YELP Checkout API. Not able to fetch opportunity_token

Referring to the documentation The checkout API says to generate URL : https:////?opportunity_token=&yelp_site=m&yelp_locale=en_US "The partner_domain_path shall be pre-registered with…
Vivek Tankaria
  • 1,301
  • 2
  • 15
  • 35
1
vote
1 answer

Yelp API Business Matches EndPoint

I am using the Yelp API to call the business matches endpoint. Unfortunately, I am getting an error that I have been playing around with for a while, but can't seem to find a reason why it is returning me the following response: Optional({ error…
Josh
  • 25
  • 4
1
vote
1 answer

Error Domain=NSCocoaErrorDomain Code=4865 on JSON parsing from API call in Swift

I am trying to pull in and parse a JSON from the Yelp fusion API. Whenever I pull it in and try to parse it and store it as a struct, I get the following error: Error Domain=NSCocoaErrorDomain Code=4865 "No value associated with…
jdmo242
  • 71
  • 1
  • 7
1
vote
0 answers

Yelp API reservation openings returning "NOT FOUND"

I'm wanting to use the Yelp reservations API to see what times you can make reservations at a restaurant for. Every time I query the API it returns the following: {'error': {'code': 'NOT_FOUND', 'description': 'Resource could not be found.'}} I'm…
Landon G
  • 819
  • 2
  • 12
  • 31
1
vote
1 answer

Getting data from json response using Yelp API

I have a client who's using the Yelp API to get the 10 closest results to a point using a latitude and longitude. The api query combines a "list" of categories together and then passes it to the query in Yelp. Something like this: $categories = […
MrTechie
  • 1,797
  • 4
  • 20
  • 36
1
vote
1 answer

How to sort a list of restaurant names by restaurant rating (possibly from Google Places or Yelp Fusion API)

I have a csv file with thousands of restaurant names and addresses that I need to sort by rating (data that is not in the csv). Is there a way to fill in the csv with this data? Possibly with Google Places API or Yelp Fusion API?
Jo Turtel
  • 11
  • 2
1
vote
1 answer

Pass IDs from POST request to separate endpoint

I'm teaching myself Nodejs and am trying to populate a page with a list of nearby businesses' opening and closing hours from Yelp's API. I created a POST route to my page in Express, calling the Yelp API using the Yelp Fusion client. I am able to…
Pbculley
  • 79
  • 8
0
votes
0 answers

Yelp API: Return the Business Type

I have a list of businesses and business id. I can currently return categories but what I really want is the higher level / root category. I want to tell if the business is a restaurant, car wash, hair salon, etc. Currently categories returns…
0
votes
1 answer

GraphQL using a for loop in within the search query

Because Yelp limits the output of businesses to 50, I'm trying to loop through the Census block centroid longitudes and latitudes of San Diego to get all the different businesses (which I want for a project). However, the query does not seem to…
James
  • 459
  • 2
  • 14
0
votes
0 answers

Yelp Fusion API does not return business attributes on any endpoint?

I'm trying to obtain the "attributes" object associated with some businesses through Yelp's Fusion API. Although the search businesses endpoint seems to indicate an optional attributes object in its 200 response, I have not seen this populated in…
Infinitus
  • 155
  • 10
0
votes
0 answers

Spring Boot Yelp Fusion Api returning empty array from Business Search endpoint

I am trying to fetch from the Yelp Fusion api with a small Spring Boot backend, however I am not actually gettting anything back in the response and can't find any information about the issue. I have set up a fetch using a rest endpoint that I made…
Chase
  • 1
0
votes
0 answers

React Native, Axios returns an empty array from Yelp API call

I'm very new to react native and working with APIs. I'm trying to build an app that gets nearby restaurant data from the Yelp API and displays to the user. However, the data won't seem to save correctly to my array cause it only shows up as an empty…
0
votes
0 answers

Unable to fetch Yelp API when MERN stack

I set up the my express backend to fetch restaurant with the dish name from Yelp API, and receive the request from my frontend, but browser gave me POST http://localhost:5000/api/search/ net::ERR_ABORTED 403 (Forbidden). Frontend: item would be the…
Ronny
  • 1
  • 1
0
votes
2 answers

Error "undefined is not an object" (filter data from API's)

I'm new to React Native. I was building my school project and tried to fetch the data to my components, but instead I got this error. I've searched for this error on Google, but I did not get that much information. Error 1 export default function…
0
votes
0 answers

How to nest API calls in React Native using Axios/Promises?

I'm using the Yelp Fusion API for a project of mine. I'm using two different types of calls: one that returns an array of restaurant IDs given a location, and one that returns restaurant details given a restaurant ID. Essentially, I want to get the…