{
"location": {
"lat": -33.8669710,
"lng": 151.1958750
},
"accuracy": 50,
"name": "Google Shoes!",
"phone_number": "(02) 9374 4000",
"address": "48 Pirrama Road, Pyrmont, NSW 2009, Australia",
"types": ["shoe_store"],
"website": "http://www.google.com.au/",
"language": "en-AU"
}
这个我试过以及其他地方没有修改印度地方的请求结构。我收到以下回复:
{
"html_attributions": [],
"results": [],
"status": "INVALID_REQUEST"
}
我没有得到究竟是什么问题,请回复解决方案。
由于您没有指定,我假设您正在尝试使用文档中描述的here上的Places API添加地点端点。
最可能的问题是您忽略了在请求URL中包含API密钥,它应如下所示:
https://maps.googleapis.com/maps/api/place/add/json?key=YOUR_API_KEY
请注意,此端点已弃用,Google可能会在将来某个时候将其删除。