使用谷歌Places API的时候REQUEST_DENIED [英] REQUEST_DENIED when using the Google Places API

查看:404
本文介绍了使用谷歌Places API的时候REQUEST_DENIED的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图做出了谷歌Places API的请求,使用以下网址:<一href=\"https://maps.googleapis.com/maps/api/place/search/xml?location=37.77264,-122.409915&radius=500&types=educational%20services&name=everest%20college%20san%20francisco&sensor=false&key=YourApiKey\" rel=\"nofollow\">https://maps.googleapis.com/maps/api/place/search/xml?location=37.77264,-122.409915&radius=500&types=educational%20services&name=everest%20college%20san%20francisco&sensor=false&key=YourApiKey

I'm trying to make a request to the Google Places API, using the following url: https://maps.googleapis.com/maps/api/place/search/xml?location=37.77264,-122.409915&radius=500&types=educational%20services&name=everest%20college%20san%20francisco&sensor=false&key=YourApiKey

这是我得到的回应:

<PlaceSearchResponse>
  <status>REQUEST_DENIED</status>
</PlaceSearchResponse>

任何想法可能是错误的上面的URL?

Any idea what could be wrong with the above URL?

推荐答案

重要提示:进入这里的API控制台 ,再到服务和检查,如果你的Places API的'导通

IMPORTANT: Go to the api console here, then to SERVICES and check if your 'Places API' is turned ON

这篇关于使用谷歌Places API的时候REQUEST_DENIED的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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