An Amazon Alexa skill for finding out when and where the next running race is being held in New York City.
User: "Alexa, ask New York Running Calendar when the next race is."
Alexa: "The Japan Run 4 Miler is in Central Park on Sunday May 8th starting at 8:00 AM. Would you like to hear more?"
User: "Alexa, start New York Running Calendar."
Alexa: "Welcome to the New York Running Calendar app. You can ask me when the next race is."
User: "When's the next race?"
Alexa: "The Japan Run 4 Miler is in Central Park on Sunday May 8th starting at 8:00 AM. Would you like to hear more?"
User: "No."
pushd ./src
npm install
popd
Set your target aws profile
export AWS_PROFILE=<profile>
Build the zip
./scripts/build_zip.sh
Create the lambda function
./scripts/lambda_function_create.sh
Update the function
./scripts/lambda_function_update.sh
Copy the value of FunctionArn
in the response json for use below.
Go to the
Build Alexa Skills with the Alexa Skills Kit
Skill Infomation
- Set the Skill Type to "Custom Interaction Model"
- Set the Name to "New York Running Calendar"
- Set the Invocation Name to "New York Running Calendar"
Interaction Model
- Intent Scheme: speechAssets/IntentSchema.json
- Sample Utterances: speechAssets/SampleUtterances.txt
Configuration
- Set the Endpoint radio button to Lambda ARN
- Set the Endpoint value to the
FunctionArn
returned bylambda_function_create.sh
above - Set Account Linking to "No"
Skill Publishing Information
-
Short Skill Description
The New York Running Calendar app helps you find the next organized running race in New York City.
-
Full Skill Description
The New York Running Calendar helps you find the next organized running race in New York City.
To get started say "Alexa, ask New York Running Calendar: When is the next race?"
The app will then search the web for upcoming races and will tell you the name of the next race, where it is being held, and the date and time it starts.
-
Example Phrases
- Alexa, ask New York Running Calendar: When is the next race?
- When's the next race?
- What is the next race?
-
Keywords
New York, Running
-
Images
-
Testing Instructions
No special instructions. Just say "Alexa, ask New York Running Calendar: When is the next race?"