Now, we'll get the weather data all the way from Mars. No, I'm not really joking. Refer to http://bit.ly/MarsWeatherAPI, which describes the API and gives a little science background, if you are interested. This API is set up to consume XML data from, and return it in, a JSON or JSONP format. The following is the resulting data, which you can also get by referring to: http://marsweather.ingenology.com/v1/latest/.
{
"report": {
"terrestrial_date": "2019-04-21",
"sol": 2250,
"ls": 66.0,
"min_temp": -80.0,
"min_temp_fahrenheit": -112.0,
"max_temp": -27.0,
"max_temp_fahrenheit": -16.6,
"pressure": 878.0,
"pressure_string": "Higher",
"abs_humidity": null,
"...