2017-10-10 95 views
0

如何使用NearBy Search或Text Search從Google place API中獲取更多的結果。有任何方法可以獲得無限的記錄。 (付費或免費)。Google Place API

在此先感謝。

+0

我使用這個查詢來獲取附近的結果:https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=18.563214,73.777192&radius=10000&type=restaurant&key= AIzaSyALWvJHwW8SfYKGSKpEZd00uLzhcYKMu4g – sanket

+0

但是爲了獲得下一個結果我使用了next_page_token,但是我只能得到最多60個結果。我想獲得更多結果。 – sanket

+0

[google api獲取超過60個結果]的可能重複(https://stackoverflow.com/questions/45106501/google-places-api-fetch-more-than-60-results) – xomena

回答

1

無法在Places API中獲得超過60個結果。有些人試圖向在谷歌問題跟蹤功能請求,但谷歌有這樣的評論

不幸的是API的地方是不是在一個位置,返回超過60個結果拒絕了。

除了技術原因(等待時間等)返回超過60個結果會使API更像數據庫或通用搜索引擎。我們寧願提高搜索質量,以便用戶不必在很長的結果列表中走得太遠。

https://issuetracker.google.com/issues/35826799