API example with HTTParty and Sinatra