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
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,876
  • 22
  • 25
4
votes
2 answers

How do I fix the error: "Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffee0761ed8)"

I am using swift to build an app in Xcode. it builds fine, but when it runs, it stops and gives me an error on the line a declare my delegate(this line: "weak var delegate: LocationActions?") in LocationService.swift. Here is the error: Thread 1:…
user10081458
4
votes
2 answers

How to migrate with Yelp API from v2 to v3?

I have a script that worked great with v2 but broke when it expired and shifted to v3. I've attempted to fix it but clearly there's more to it then just changing v2 to v3. Apparently they've deprecated secret token. Here's what I have at the…
santa
  • 12,234
  • 49
  • 155
  • 255
2
votes
0 answers

How do I get Yelp API to work with Flutter and Dio?

I am making a restaurant app that uses the Yelp API to return search results about restaurants, and I thought the best way to do that would be through the Dio package. I have a feeling that my problem is very simple but I just don't know how to…
2
votes
1 answer

Value of uri cannot be cast from double to string

im working with Yelp Api and i tried to search for Restaurants but im having a problem with the Restaurant image im getting the name and rating with no problem but for the image its showing for the first time but when i reload my app it give this…
Zaki Kendil
  • 237
  • 2
  • 9
2
votes
3 answers

Extra curly braces in web api response makes response unabale to convert to model

I am trying to read Yelp API. Below is my code. public async Task InvokeApi(string path, HttpAction action, HttpContent content = null, TimeSpan? overrideTimeout = null, string externalServer = null) { var sUrl =…
2
votes
1 answer

Yelp android studio VALIDATION_ERROR

I am trying to integrate the YELP API within an application in Android Studio. I am trying to acquire an access token using a post request in Postman. However, when I send the post request I get this error returned in JSON format: { "error": { …
Simeon Ikudabo
  • 2,152
  • 1
  • 10
  • 27
2
votes
1 answer

Methods inside javascript promises not running on dialogflow

So this is the code for yelp-fusion node.js API used in dialogflow v2. Problem: agent.add(response.jsonBody.businesses[0].name); which should make the bot say the name of the business doesnt actually run even though the code is there. From research,…
Denise
  • 133
  • 1
  • 2
  • 10
1
vote
1 answer

Yelp Api business search not working in react native using axios - returns an empty array

Having trouble getting the yelp api to work, it is supposed to search for businesses based on the set of term. I am using a async await function to GET the businesses/search object, then I am setting my params then updating state using setResults …
1
vote
0 answers

Why does my fetch request return 200 on pc but 400 on ios

I'm communicating to an API to update a state in my application. Everything works fine on PC. But on iOS the network request is 400 and the API does not return anything. Why? I'm running both through CORS anywhere and I've made sure to activate it…
1
vote
0 answers

Yelp API responding with only 50 results

When i run the program it gave me upto 50 records/results so i create an 'offset' which will give me more than 50 then i run the code again and the result appear are same, only get 50 records not more than that. import requests import json import…
1
vote
1 answer

JSON parse not working properly - Javascript

I am having a little trouble with parsing the data. When i add JSON.parse(this.responseText) and this.status == 200 on the if statement my code seem to not work. When I take them off it works and I get the alert that it's a success. Not sure what I…
1
vote
1 answer

django - how to save api data into model from template button

I am using the Yelp API to search bars in a any location. This uses a template called results.html that has a button. Clicking this button should save the Yelp API unique ID of a Bar into my models. In my results dictionary that I loop over I call…
sus_zeus
  • 83
  • 9
1
vote
1 answer

SwiftUI + Decoding Yelp API Response

I'm new to working with Swift and JSON, I'll try to describe what I'm trying to accomplish as best as I can. I'm trying to access the Yelp API service and return and decode the JSON results and display the results in a list. I've successfully been…
Jason Tremain
  • 1,259
  • 3
  • 20
  • 35
1
vote
0 answers

Why doesn't formik properly work in my React app?

I am new to React and web development and have a question about Formik. My webpage loads correctly when I comment this part out (the values):
1
2 3 4