2017-08-07 26 views
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 

我的问题是它的方式返回更多的项目。

回答

0

对于特定的搜索标准,上限限制为100个结果。无法通过搜索API获取超过100个列表(这适用于基本和合作伙伴API访问)。

+0

这是一种获得更多结果(通过其他方式)的方法吗? – kenpeter

+0

不,功能尚未提供。 –

相关问题