新的Google API Key“Google Maps API v3”不适用于Google Places API?
问题描述:
我正在使用Google Places API(https://developers.google.com/places/documentation/search),并已生成一个新的Google API Key,其中包含允许任何IP。当我尝试获取以下API服务URL的结果时,我收到了拒绝请求的错误消息。
I am working with the Google Places API (https://developers.google.com/places/documentation/search), and have generated a new Google API Key with 'Any IP Allowed'. When I try to get the results of the API service URLs below, I am getting a REQUEST DENIED error.
我已经尝试了请求参数的所有组合,但没有任何结果。
I have tried all combinations of the request parameters, but nothing has worked.
答
您也必须激活API控制台的地方服务。
You must also activate the places-service in the API-console.