从Alexa技能套件(ASK)获取位置 [英] Get location from Alexa Skills Kit (ASK)

查看:83
本文介绍了从Alexa技能套件(ASK)获取位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方法来获取用户的位置(理想情况下为经度/纬度,但地址也可以使用),从Alexa Skill Kit请求到我的自定义技能。另外,我也不需要用户链接到应用程序一侧的帐户。

I'm looking for a way to get the user's location, ideally longitude/latitude but address would work too, from the Alexa Skill Kit request to my custom skill. Also, I don't want to have to have the user link to an account on my app's side.

这可能吗?如果是,怎么办?

Is this possible? If so, how?

推荐答案

按照亚马逊开发者论坛上的该线程,目前(截至2016年5月)尚没有一种通过公开可用的API获取用户位置的方法。能够做到这一点的唯一技能(例如Uber或Domino)正在利用Alexa Skills Kit所不具备的API。但是,希望可以添加它,因为 Jamie @ Amazon在该讨论中留下了以下答复:

As per this thread on the Amazon Developer forums, there is not currently (as of May 2016) a way to get user location via the publicly available APIs. The only skills able to do so, such as Uber or Domino's, are utilizing APIs that are not available through the Alexa Skills Kit. However, there's hope that it may be added, as "Jamie@Amazon" left this reply in that discussion:


嘿,

Hey there,

感谢发布。

现在已将其添加到路线图中。感谢您的反馈。

This has now been added to the roadmap. Thanks for the feedback.

Jamie

但是,在撰写本文时,未提供有关此功能实现的进一步更新。

However, at the time of writing, no further update has been provided regarding the implementation of such a feature.

这篇关于从Alexa技能套件(ASK)获取位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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