/skill-sample-python-buttons-hellobuttons

This is a sample skill used to show 3P developers how to develop for Echo Buttons. It is the exact same functionality as the existing alexa/skill-sample-nodejs-buttons-hellobuttons except this one is written using the Python ASK SDK.

Primary LanguagePythonOtherNOASSERTION

Build a Simple Echo Buttons Skill in ASK Python SDK (using Decorators)

Important: The Gadgets Skill API is in beta and is subject to change at any time without notice. We welcome your feedback.

These instructions show how to create a simple skill called Hello Buttons. This skill demonstrates how to send directives to, and receive events from, Echo Buttons. These direction assume you have some familiarity with Python (or a similar programming language) and the Alexa Skills Kit.

Concepts

This simple sample has no external dependencies or session management, and shows the most basic example of how to create a Lambda function for handling Alexa Skill requests.

Setup

To run this example skill you need to do two things. The first is to deploy the example code in lambda, and the second is to configure the Alexa skill to use Lambda.

Get Started

Skills can be built either by implementing AbstractRequestHandler classes or by using skill builder's request_handler decorator. More information on this can be checked in the documentation.

This sample skill shows how to use skill builder's request_handler decorator. The code for this implementation is under lambda/py folder.

Additional Resources

Community

Tutorials & Guides

  • Voice Design Guide - A great resource for learning conversational and voice user interface design.

Documentation