Pulling data from API in Sinatra