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
不,功能尚未提供。 –