Adding changes to return the right url, accordint to test_mode value
Adding code for RequestsClient
Adding code to use API client
Adding code to handle errors
Adding API client code