alexa
alexa copied to clipboard
Support List Skills
Amazon announced support for List Skills on 10/13.
Would be great to add support for those... I think structurally these will be very similar to Smart Home Skills but possible impact across the entire mono-repo (e.g. new constants, new response types, etc.)
@cameronhunter what do you think? Are you planning to add these or should I take a look? I think it would be much faster if you did it but if you're busy or tied up with something else I'm happy to give it a shot. I would like to add this support to my skill in the next couple of weeks.
Thank you for all your time and effort with these annotations!
I don't see API documentation for list skills yet. I've applied for beta access and will implement annotations for it if possible. Quick note that you can now create your own annotations from v8.0.0
of alexa-annotations
:
import { Skill, annotation } from 'alexa-annotations';
const CustomLaunch = annotation(event => event.request.type === 'LaunchRequest');
@Skill
class MySkill {
@CustomLaunch
onLaunch(event) {
// Handle event
}
}
I have applied as well... thanks! Will update if I get access to the docs.
Lists API has been made public: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/access-the-alexa-shopping-and-to-do-lists