question

James R avatar image
James R asked ·

best way of Making HTTP / HTTPS GET Requests in an Alexa Skill using python 3.5 and flask ask?

I have been developing an alexa skill using python3.5, flask-ask, and ngrok. so far progress has been steady however i can't seem to figure out a way to call a specific item in a list from a dynamic api. i can call and output big chucks of the list but since the data provided by the api is always changing i need to call the specific word that identifies the item i want to extract and output. is using AWS lambda a better option? any help would be greatly appreciated.

testingapiechoresponsepython
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Brian@Amazon avatar image
Brian@Amazon answered ·

Depending on the format of the API, there are python libraries that might help you parse whatever XML or JSON, or other formatted data it is returning.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.