chrisdhaan / CDYelpFusionKit

An extensive Swift wrapper for the Yelp Fusion API.
MIT License
54 stars 18 forks source link

Hours always coming back nil #35

Closed Mcrich23 closed 1 year ago

Mcrich23 commented 2 years ago

What did you do?

Tried to get hours of yelp restaurants.

What did you expect to happen?

Came back with hours

What happened instead?

Came back nil

CDYelpFusionKit Environment

CDYelpFusionKit version: 3.1.0
Xcode version: 13.4
Swift version: 5.6
Platform(s) running CDYelpFusionKit: ios
macOS version running Xcode: 12.4

Mcrich23 commented 2 years ago

It doesn't even work in the example project

chrisdhaan commented 2 years ago

@Mcrich23 which endpoint are you querying?

Mcrich23 commented 2 years ago

@chrisdhaan I am doing the business endpoint

Mcrich23 commented 1 year ago

Update @chrisdhaan , it works, but I am trying to just do 20 in a row and it rate limits, is there anyway for the data to come back with the search?

chrisdhaan commented 1 year ago

@Mcrich23 I do not own the YelpFusion API. I only developed the interface to interact with it. You would have to request that functionality directly with yelp to have hours returned in the search API. As far as I can tell from the documentation only the business id endpoint supports hours returning.

Mcrich23 commented 1 year ago

Ok. Thank you. SincerelyMorris RichmanHttps://mcrich23.comOn Dec 4, 2022, at 1:10 AM, Christopher de Haan @.***> wrote: @Mcrich23 I do not own the YelpFusion API. I only developed the interface to interact with it. You would have to request that functionality directly with yelp to have hours returned in the search API. As far as I can tell from the documentation only the business id endpoint supports hours returning.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

chrisdhaan commented 1 year ago

No problem @Mcrich23 . I'm going to close the issue.