The Alexa Skills Kit SDK for Python simplifies the development of the back-end cloud service for your Alexa skill. A part of the Alexa Skills Kit, the SDK reduces the amount of code you need to write to process Alexa requests and responses and to handle other common skill tasks.
Visit our GitHub repository to find everything you need to build more quickly, including samples listed below. Start building now to reach and delight customers through tens of millions of Alexa-enabled devices. You can also make money with Alexa by adding premium content to your skill with in-skill purchasing. Get started today to give your vision a voice. We can’t wait to see what you build.
Request handling in the SDK makes it easy for you to invoke the right code when Alexa sends you a request. You can write a single handler for multiple Alexa intents, or invoke different handlers based on nearly any request attribute. The ASK SDK for Python also introduces flexible handler registration, allowing you to use either decorators or traditional class-based implementations of handler features.
You can deliver responses to your customers that include text-to-speech, audio and video streams, and cards and other visual elements. Customers will receive one or more of these elements depending on what Alexa-compatible device they are using. Using the SDK, you can build responses that include all of these elements.
You can store and retrieve information at different scopes using attributes in the SDK. Attributes allow you to keep track of what happened so far, and to use this information to determine what happens next. You can define attributes
You can call nearly any Alexa API from within your skill logic using service clients in the SDK. The service clients automatically inject relevant endpoint and authentication-token information on your behalf.
Learn how to call an API from within your skill to provide dynamic content to your customers.
Teach your skill how to be multilingual using Python's internationalization library.
The Alexa APIs for Python consists of python classes that represent the request and response JSON of Alexa services.
By Coding Dojo
Calling aspiring and established Python coders alike! Learn how to build skills for Alexa
Learn to build an Alexa skill in Python that goes to the World News subreddit, a popular feed on news aggregator Reddit, and reads the latest headlines.