简体   繁体   English

我无法从 Google Place API 自动完成获取数据

[英]I am having trouble getting data from Google Place API AutoComplete

I need help, I am having trouble getting data from this link https://maps.googleapis.com/maps/api/place/autocomplete/json ?我需要帮助,我无法从此链接https://maps.googleapis.com/maps/api/place/autocomplete/json获取数据?

You get data from that link, you get an error message.您从该链接获取数据,您会收到一条错误消息。

Please RTFM first.请先使用 RTFM。 The Google Place API needs an API key in order to work. Google Place API 需要 API 密钥才能工作。

I'm quoting the error message from that url, which btw is asking you to RTFM first:-)我引用了 url 的错误消息,顺便说一句,它首先要求您使用 RTFM :-)

You must use an API key to authenticate each request to Google Maps Platform APIs.您必须使用 API 密钥来验证对 Google Maps Platform API 的每个请求。 For additional information, please refer to http://g.co/dev/maps-no-account更多信息请参考http://g.co/dev/maps-no-account

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我正在尝试从 API 获取数据但出现错误 - I am trying to get data from API but having error 我很难使用 dart/flutter 从 json 映射中的嵌套对象获取数据 - I am having a hard time getting data from an nested object in a json map using dart/flutter 我在加载 CatDetailHeader 时遇到问题 - I am having trouble loadding CatDetailHeader 我在使用 Bloc/cubit 在 flutter 的其他小部件/类中使用 BlocBuilder 获取上次发出的 state 时遇到问题 - I am having trouble getting last emitted state with BlocBuilder in other widgets/classes in flutter using Bloc/cubit 我在渲染容器和扩展面板列表 flutter 时遇到问题 - I am having trouble rendering a container and an expanded panel list flutter 我在遍历对象数组时遇到问题 - I am having trouble iterating through an array of objects Flutter 带谷歌地图自动补全的地方 - Flutter With Google Maps autocomplete place 从数据库获取 DataSnapshot 并获取空值时遇到问题 - Having trouble getting DataSnapshot from database and getting null values 我正在从快递 API 向 flutter 应用程序发送 GET 请求,但我没有收到任何 output - I am sending the GET request to the flutter app from the express API but I am not getting any output 我正在尝试使用 file.env 将 google api 链接到我的项目。我收到了未找到的错误文件 - I am trying to link google api to my project using the file.env .I am getting the error file not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM