0

我一直在尝试将 yelp 与应用程序集成。

假设我想在一个地方看到所有的意大利餐厅。根据yelp api,查询应该是

http://api.yelp.com/v2/search?term=restaurants&category=italian&place=san+jose

但从我看到的结果来看,我几乎看不到任何意大利餐馆。有没有其他方法可以查询api?

4

2 回答 2

0

存在参数缺失错误。您需要添加 id 和 oath_consumer_key。您没有看到任何结果,因为查询不正确

誓言密钥: http ://www.yelp.com/developers/documentation/v2/authentication

ID 是企业的 yelp ID: http ://www.yelp.com/developers/documentation/v2/business

于 2013-05-07T13:51:26.183 回答
0

看起来你的参数不正确;它应该是:

https://api.yelp.com/v2/search?term=restaurants&category_filter=italian&location=san+jose

https://www.yelp.com/developers/documentation/v2/search_api

于 2015-12-03T17:53:17.857 回答