Skip to content

Instantly share code, notes, and snippets.

@AlexHilson
Last active June 18, 2018 14:00
Show Gist options
  • Save AlexHilson/250b45700ba837803697a4fb7bb50c10 to your computer and use it in GitHub Desktop.
Save AlexHilson/250b45700ba837803697a4fb7bb50c10 to your computer and use it in GitHub Desktop.
alexa_response_with_card.json
"response":{
"outputSpeech":{
"type":"PlainText",
"text":"In Devon there is an amber weather warning for snow. The weather forecast for Exeter is cloudy and is highly likely to remain dry. There will be a high of 20 degrees Celcius and a low of 16. Would you like to hear more?"
},
"card":{
"type":"Standard",
"title":"Severe Weather Warnings for Devon",
"text":"An amber weather warning for snow has been issued where heavy snow is likely to affect many areas and bring severe disruption to travel.\n\nPlease see the Met Office website for further details.",
"image":{
"smallImageUrl":"https://images.informaticslab.co.uk/alexa-images/warning-amber.jpg",
"largeImageUrl":"https://images.informaticslab.co.uk/alexa-images/warning-amber-large.png"
}
},
"reprompt":{
"outputSpeech":{
"type":"PlainText"
}
},
"shouldEndSession":false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment