cameronhunter / alexa

Monorepo of libraries used for Amazon Alexa development
MIT License
38 stars 10 forks source link

Support List Skills #2

Open tjaffri opened 8 years ago

tjaffri commented 8 years ago

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!

cameronhunter commented 8 years ago

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
  }

}
tjaffri commented 8 years ago

I have applied as well... thanks! Will update if I get access to the docs.

cameronhunter commented 7 years ago

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