Reputation: 280
I am hoping someone can figure this out:
Through the Foursquare API, you can get the menu by providing the Venue_ID of a particular restaurant:
And that works.
But it doesn't work for the following (and several other) restaurants:
You can confirm by trying it out at https://developer.foursquare.com/docs/explore#req=venues/4fa027ede4b0e4be23b3374e/menu
Would appreciate any help/insights on this.
Thanks!
Upvotes: 0
Views: 912
Reputation: 2004
Foursquare is only allowed to redistribute menu data from certain providers through its public API. Unfortunately you've stumbled upon an example of this. If count
inside the menus
object is 0
, you should handle this situation gracefully.
Upvotes: 1