Minnesota snow emergency information
Working towards a reusable Ruby interface for Alexa skills with APL
Generates zip file for upload to AWS Lambda for Ruby
./package.shFor display please set the following environment variables
APP_NAMELOGO_URL
src/ex.rb is an attempt to simulate the way Alexa accesses the Lambda function
ruby src/ex.rb nsruby src/ex.rbbundle exec rspec- https://developer.amazon.com
- Select your skill
- From Build tab click Multimodal Reaponses
- Click Visual
- Click Create Visual Response
- Use tools to craft your visual presentation template
- I like to click the Data icon and use data that's representative of what I intend to display
- Save your template
- Download your template to the
apldirectory
- This file will contain the template and any sample data you created
The downloaded template includes at least three top-level keys: document, datasources and sources.
We'll save the document values in the apl directory. Your file should look like
{
"type": "APL",
...
}