擅长:python、mysql、java
<p>试试这个googleplacesapiurl。您将获得(例如)纽约市的旅游景点/景点。您必须将城市名称与关键字Point Of Interest一起使用。在</p>
<p><code>https://maps.googleapis.com/maps/api/place/textsearch/json?query=new+york+city+point+of+interest&language=en&key=API_KEY</code></p>
<p>这些API结果与下面的Google搜索结果相同。
<a href="https://www.google.com/search?sclient=psy-ab&site=&source=hp&btnG=Search&q=New+York+point+of+interest" rel="nofollow noreferrer">https://www.google.com/search?sclient=psy-ab&site=&source=hp&btnG=Search&q=New+York+point+of+interest</a></p>
<p>再给你两个小建议:</p>
<ul>
<li>您可以将Python客户机用于Google地图服务:<a href="https://github.com/googlemaps/google-maps-services-python" rel="nofollow noreferrer">https://github.com/googlemaps/google-maps-services-python</a></li>
<li>对于<code>OVER_QUERY_LIMIT</code>问题,请确保您向Google云项目添加了一个计费方法(使用您的信用卡或免费跟踪信用余额)。不用太担心,因为谷歌每个月会给你几千个免费查询。在</li>
</ul>