Gist 0c253e7c56de24b5e8d8d59edaec1c94
✓ Published0🌍 Public
CCliffordAnderson
Last edited Mar 12, 2017
Created on Mar 12, 2017
This example shows an Alexa skill that retrieves a Bible verse and speaks it aloud as part of a "Space Facts" interaction. The code uses the `alexa-sdk` to handle intents and `axios` to fetch scripture text from a Lifeway API, specifically requesting John 3:16. However, the verse request is made once at load time, not per user query, and the resulting promise is stored in a variable that is then embedded directly into the speech output. The skill registers handlers for launch, fact requests, help, and stop/cancel intents, but the actual fact content appears to be the static verse retrieved from the remote endpoint.
AI-generated descriptionMIT Licensed