google place api获取超过60个结果 [英] google places api fetch more than 60 results

查看:134
本文介绍了google place api获取超过60个结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用Google Places API来获取给定城市的夜总会, 根据您的文档,我已经将我的信用卡添加到API详细信息中,我应该每天获得15万次匹配. 当我点击Google Places API时,它在3页中仅返回60个位置. 请确定如何从API查询中获得更多结果.

I'm currently working with google places api to fetch nightclubs in the given city, I have evn added my credit card to API details as per you documentation I was supposed to get 150K hits per day. when I hit the google places api it returns only 60 places in 3 pages. Please assits how can I can more results from API query.

推荐答案

从地点搜索请求中获取的结果不能超过60个.这种行为有据可查.

It is not possible to get more than 60 results from places search request. This behavior is well documented.

默认情况下,每个附近搜索或文本搜索每个查询最多返回20个建立结果;但是,每次搜索最多可以返回60个结果,分为三页.

By default, each Nearby Search or Text Search returns up to 20 establishment results per query; however, each search can return as many as 60 results, split across three pages.

https://developers.google.com/places/web-service /search#PlaceSearchPaging

添加更多结果可能会导致数据被服务条款[1]禁止抓取,因此Google不太可能增加响应中的项目数.

Adding more results might open a possibility for data scraping that is prohibited by Terms of Service [1], so it is very unlikely that Google increases the number of items in the response.

[1] https://developers.google.com/maps/terms#section_10_4

不能基于Google的内容或服务创建或扩充数据集.您将不会使用Google的内容或服务来创建或扩充自己的与地图相关的数据集(或第三方的数据集) ,包括地图或导航数据集,公司列表数据库,邮件列表或电话销售列表.

No creation or augmentation of data sets based on Google’s Content or Services. You will not use Google’s Content or Services to create or augment your own mapping-related dataset (or that of a third party), including a mapping or navigation dataset, business listings database, mailing list, or telemarketing list.

这篇关于google place api获取超过60个结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆