我正在构建一个返回事件列表的 Alexa 技能集.我想利用我的技能为用户预约选定的活动.
I am building a Alexa Skill Set which returns list of events. I would like to my skill to book an appointment for selected events by the user.
如果用户说上次活动的 Alexa 预约",我希望我的技能能够处理它并在链接的日历中预订活动.
If the user says "Alexa book appointment for the last event", I want my skill to handle it and book an event in the linked calendar.
如何在我的技能范围内访问链接的日历?
How do I get access to the linked calendar within my skill?
推荐答案为此,您需要访问用户的日历,您可以通过帐户链接获得该日历.您可以在此处找到亚马逊的更多信息:将 Alexa 用户与您系统中的用户关联.
For this, you need to get access to the user's calendar, which you can get via account linking. You can find more information by Amazon here: Link an Alexa User with a User in Your System.
在帐号关联过程中,您需要使用 Google Sign-在.这是专门针对 Google 日历的另一个有用链接:授权对 Google Calendar API 的请求.
In the account linking process, you then need to use Google Sign-In. Here's another helpful link for Google Calendar specifically: Authorizing Requests to the Google Calendar API.
更多推荐
如何从另一个 Alexa Skill Kit 在谷歌日历中创建事件?
发布评论