如何通过另一个Alexa技能套件在Google日历中创建事件? [英] How to create an event in google calendar from another 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?
推荐答案
为此,您需要访问用户的日历,可以通过帐户链接获得该日历。您可以在此处通过Amazon找到更多信息:将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登录。以下是专门针对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技能套件在Google日历中创建事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!