Refactored to use URI builder to build the url
Json parser to parse the max temperature