Alexa
26 Feb 2017
As I delve into working with Elixir and Phoenix, I decided to write an Alexa Skill. The first thing I needed was a nice api to do so, so I wrote that.
Modeling the Alexa Request and Response
The first thing I did is write Elixir structs for the Alexa response and request objects. I like knowing the shape of my data ahead of time and the dot syntax is more concise than a map access. This step is fairly easy.