Collapsing the old syntax
Rewriting the API client using HTTParty