如何从另一个 Alexa Skill Kit 在谷歌日历中创建事件? [英] How to create an event in google calendar from another Alexa Skill Kit?

查看:29
本文介绍了如何从另一个 Alexa Skill Kit 在谷歌日历中创建事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个返回事件列表的 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 在谷歌日历中创建事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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