Refactored to store the redirected URL for subsequent calls to the API. Now supports setting of temp in farenheit and celcius