To start with, I’d use Req and not HttpPoison.
Also the Map.get function calls you could just replace with pattern-matching IMO.
To start with, I’d use Req and not HttpPoison.
Also the Map.get function calls you could just replace with pattern-matching IMO.