Yelp / yelp-fusion

Yelp Fusion API
https://yelp.com/developers
MIT License
403 stars 394 forks source link

Hours not appearing when querying API #282

Closed AnnaDanielle closed 6 years ago

AnnaDanielle commented 7 years ago

Overview

Description

queried business API for arbys-alhambra, and returned some data, but not all. hours were not in there. when I got to the website (https://www.yelp.com/biz/arbys-alhambra?osq=Arby%27s), there they are in plain sight. What's with the discrepancy?

here are my results, expected them to be the same as the website: image

Endpoint

Fusion Business API

More info

Also, just queried again, and they appeared! what is going on?

tomelm commented 7 years ago

Filed a ticket internally, I don't have a great answer right now. We pull business hours from a different data source and the fact that it's working now means that other data source has a slight outage and we succeeded the request with out or there was a gap in caching.

We'll try to look a little more.

aleksdao commented 7 years ago

@AnnaDanielle Fwiw, I'm able to get hours data for this business via the Yelp GraphQL API (if it's something you want to explore!)

query here

mittonk commented 7 years ago

@aleksdao : I suspect the same occasional-rare-failure will hit both traditional Fusion and GraphQL endpoints, switching APIs may not help much.

watterso commented 6 years ago

Closed because of inactivity / Issue is resolved.