Google api google place api不正确的结果

Google api google place api不正确的结果,google-api,google-places-api,google-api-php-client,Google Api,Google Places Api,Google Api Php Client,您好,我在显示google place api的结果时遇到问题 当我写夜总会谷歌搜索时,我得到的结果与我的搜索相符 但当我通过谷歌PlaceAPI搜索时,我得到的结果并不像书店、出租公寓和其他相关结果那样正确 URL如下所示 https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=32.0768214,34.8147987&radius=5000&keyword=Nightclub&sen

您好,我在显示google place api的结果时遇到问题 当我写夜总会谷歌搜索时,我得到的结果与我的搜索相符 但当我通过谷歌PlaceAPI搜索时,我得到的结果并不像书店、出租公寓和其他相关结果那样正确 URL如下所示

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=32.0768214,34.8147987&radius=5000&keyword=Nightclub&sensor=true&language=en&key=MyKey
谢谢大家!

作为:

关键字-一个与谷歌为这个地方建立索引的所有内容相匹配的术语,包括但不限于名称、类型和地址,以及客户评论和其他第三方内容


所以这个过滤器不会像你想的那么具体。如果您只想获得夜总会,则可以使用值为
night\u club
types
参数。有关所有其他可能的值,请参见。

这只是一个示例,位置类型非常有限,非常有用