sample  app to explain how to use an api with sinatra and faraday