1
首先,我得到一个zomato api。然后我使用nodejs获取从api获取餐馆。如何通过zomato api获得100多家餐馆?
0-19项:
https://developers.zomato.com/api/v2.1/search?entity_id=259&entity_type=city&start=0&count=20
20-40项:
https://developers.zomato.com/api/v2.1/search?entity_id=259&entity_type=city&start=20&count=20
40-60项:
https://developers.zomato.com/api/v2.1/search?entity_id=259&entity_type=city&start=40&count=20
60-80项:
https://developers.zomato.com/api/v2.1/search?entity_id=259&entity_type=city&start=60&count=20
个
80-100项目:
https://developers.zomato.com/api/v2.1/search?entity_id=259&entity_type=city&start=80&count=20
100-120(从开始,它开始返回空记录)
https://developers.zomato.com/api/v2.1/search?entity_id=259&entity_type=city&start=100&count=20
我的问题是它的方式返回更多的项目。
这是一种获得更多结果(通过其他方式)的方法吗? – kenpeter
不,功能尚未提供。 –