Advanced API Data

Weather
{
“success”: true,
“error”: null,
“response”: [
{
“loc”: {
“long”: -93.265,
“lat”: 44.978
},
“interval”: “day”,
“periods”: [
{
“timestamp”: 1527076800,
“validTime”: “2018-05-23T07:00:00-05:00”,
“dateTimeISO”: “2018-05-23T07:00:00-05:00”,
“maxTempC”: 29,
“maxTempF”: 85,
“minTempC”: 21,
“minTempF”: 69,
“avgTempC”: 25,
“avgTempF”: 76,
“tempC”: null,
“tempF”: null,
“pop”: 11,
“precipMM”: 0,
“precipIN”: 0,
“iceaccum”: 0,
“iceaccumMM”: 0,
“iceaccumIN”: 0,
“maxHumidity”: 87,
“minHumidity”: 42,
“humidity”: 62,
“uvi”: 7,
“pressureMB”: 1018,
“pressureIN”: 30.06,
“sky”: 68,
“snowCM”: 0,
“snowIN”: 0,
“feelslikeC”: 17,
“feelslikeF”: 62,
“minFeelslikeC”: 17,
“minFeelslikeF”: 62,
“maxFeelslikeC”: 30,
“maxFeelslikeF”: 86,
“avgFeelslikeC”: 25,
“avgFeelslikeF”: 77,
“dewpointC”: 14,
“dewpointF”: 58,
“maxDewpointC”: 17,
“maxDewpointF”: 63,
“minDewpointC”: 14,
“minDewpointF”: 58,
“avgDewpointC”: 16,
“avgDewpointF”: 61,
“windDirDEG”: 150,
“windDir”: “SSE”,
“windDirMaxDEG”: 160,
“windDirMax”: “SSE”,
“windDirMinDEG”: 150,
“windDirMin”: “SSE”,
“windGustKTS”: 7,
“windGustKPH”: 13,
“windGustMPH”: 8,
“windSpeedKTS”: 6,
“windSpeedKPH”: 11,
“windSpeedMPH”: 7,
“windSpeedMaxKTS”: 7,
“windSpeedMaxKPH”: 13,
“windSpeedMaxMPH”: 8,
“windSpeedMinKTS”: 4,
“windSpeedMinKPH”: 8,
“windSpeedMinMPH”: 5,
“windDir80mDEG”: 152,
“windDir80m”: “SSE”,
“windDirMax80mDEG”: 160,
“windDirMax80m”: “SSE”,
“windDirMin80mDEG”: 150,
“windDirMin80m”: “SSE”,
“windGust80mKTS”: 11,
“windGust80mKPH”: 21,
“windGust80mMPH”: 13,
“windSpeed80mKTS”: 10,
“windSpeed80mKPH”: 19,
“windSpeed80mMPH”: 12,
“windSpeedMax80mKTS”: 11,
“windSpeedMax80mKPH”: 21,
“windSpeedMax80mMPH”: 13,
“windSpeedMin80mKTS”: 9,
“windSpeedMin80mKPH”: 17,
“windSpeedMin80mMPH”: 11,
“weather”: “Partly Cloudy with Isolated Storms”,
“weatherCoded”: [
{
“timestamp”: 1527109200,
“wx”: “IS::T,IS:L:RW”,
“dateTimeISO”: “2018-05-23T16:00:00-05:00”
}
],
“weatherPrimary”: “Isolated Storms”,
“weatherPrimaryCoded”: “IS::T”,
“cloudsCoded”: “SC”,
“icon”: “pcloudyt.png”,
“isDay”: true,
“sunrise”: 1527071715,
“sunriseISO”: “2018-05-23T05:35:15-05:00”,
“sunset”: 1527126270,
“sunsetISO”: “2018-05-23T20:44:30-05:00”
}
],
“profile”: {
“tz”: “America\/Chicago”
}
}
]
}

Weather Conditions
{
“success”: true,
“error”: null,
“response”: {
“id”: “KMSP”,
“loc”: {
“long”: -93.233333333333,
“lat”: 44.883333333333
},
“place”: {
“name”: “minneapolis”,
“state”: “mn”,
“country”: “us”
},
“profile”: {
“tz”: “America\/Chicago”,
“elevM”: 265,
“elevFT”: 869
},
“obTimestamp”: 1527079980,
“obDateTime”: “2018-05-23T07:53:00-05:00”,
“ob”: {
“timestamp”: 1527079980,
“dateTimeISO”: “2018-05-23T07:53:00-05:00”,
“tempC”: 18.3,
“tempF”: 65,
“dewpointC”: 15.6,
“dewpointF”: 60,
“humidity”: 84,
“pressureMB”: 1019,
“pressureIN”: 30.09,
“spressureMB”: 988,
“spressureIN”: 29.18,
“altimeterMB”: 1020,
“altimeterIN”: 30.12,
“windKTS”: 8,
“windKPH”: 15,
“windMPH”: 9,
“windSpeedKTS”: 8,
“windSpeedKPH”: 15,
“windSpeedMPH”: 9,
“windDirDEG”: 140,
“windDir”: “SE”,
“windGustKTS”: null,
“windGustKPH”: null,
“windGustMPH”: null,
“flightRule”: “LIFR”,
“visibilityKM”: 16.09344,
“visibilityMI”: 10,
“weather”: “Mostly Cloudy”,
“weatherShort”: “Mostly Cloudy”,
“weatherCoded”: “::BK”,
“weatherPrimary”: “Mostly Cloudy”,
“weatherPrimaryCoded”: “::BK”,
“cloudsCoded”: “BK”,
“icon”: “mcloudy.png”,
“heatindexC”: 18,
“heatindexF”: 65,
“windchillC”: 18,
“windchillF”: 65,
“feelslikeC”: 18,
“feelslikeF”: 65,
“isDay”: true,
“sunrise”: 1527071716,
“sunriseISO”: “2018-05-23T05:35:16-05:00”,
“sunset”: 1527126255,
“sunsetISO”: “2018-05-23T20:44:15-05:00”,
“snowDepthCM”: null,
“snowDepthIN”: null,
“precipMM”: 0,
“precipIN”: 0,
“solradWM2”: 212,
“solradMethod”: “estimated”,
“ceilingFT”: 7500,
“ceilingM”: 2286,
“light”: 21,
“QC”: “O”,
“QCcode”: 10,
“sky”: 81
},
“raw”: “KMSP 231253Z 14008KT 10SM BKN075 BKN300 18\/16 A3012 RMK AO2 SLP196 T01830156”,
“relativeTo”: {
“lat”: 44.9778,
“long”: -93.265,
“bearing”: 167,
“bearingENG”: “SSE”,
“distanceKM”: 10.796,
“distanceMI”: 6.708
}
}
}

Sun/Moon
{
“success”: true,
“error”: null,
“response”: [{
“timestamp”: 1528310856,
“dateTimeISO”: “2018-06-06T21:47:36+03:00”,
“loc”: {
“lat”: 2.03711,
“long”: 45.34375
},
“place”: {
“name”: “mogadishu”,
“state”: “”,
“country”: “so”
},
“profile”: {
“tz”: “Africa/Mogadishu”
},
“sun”: {
“rise”: 1528253416,
“riseISO”: “2018-06-06T05:50:16+03:00”,
“set”: 1528297466,
“setISO”: “2018-06-06T18:04:26+03:00”,
“transit”: 1528275441,
“transitISO”: “2018-06-06T11:57:21+03:00”,
“midnightSun”: false,
“polarNight”: false,
“twilight”: {
“civilBegin”: 1528252072,
“civilBeginISO”: “2018-06-06T05:27:52+03:00”,
“civilEnd”: 1528298809,
“civilEndISO”: “2018-06-06T18:26:49+03:00”,
“nauticalBegin”: 1528250503,
“nauticalBeginISO”: “2018-06-06T05:01:43+03:00”,
“nauticalEnd”: 1528300379,
“nauticalEndISO”: “2018-06-06T18:52:59+03:00”,
“astronomicalBegin”: 1528248923,
“astronomicalBeginISO”: “2018-06-06T04:35:23+03:00”,
“astronomicalEnd”: 1528301959,
“astronomicalEndISO”: “2018-06-06T19:19:19+03:00”
}
},
“moon”: {
“riseISO”: null,
“rise”: null,
“set”: 1528275120,
“setISO”: “2018-06-06T11:52:00+03:00”,
“transit”: 1528252980,
“transitISO”: “2018-06-06T05:43:00+03:00”,
“underfoot”: 1528297500,
“underfootISO”: “2018-06-06T18:05:00+03:00”,
“phase”: {
“phase”: 0.7506,
“name”: “last quarter”,
“illum”: 50,
“age”: 22.17,
“angle”: 0.5
}
}
}]
}

This was a lot of stuff. So let me break down some of the specific things I would be interested in:

Location Information

  • Lat/Log
  • City
  • State
  • Country
  • Elevation/Altitude
  • Bearing/Direction

Weather

  • Precipitation
  • UV
  • Pressure
  • Feels like
  • Dew Point
  • Wind Direction
  • Wind Speed

Advanced Weather
Visibility
Heat Index
Wind Chill
Snow Depth

Sun

  • Twilight
  • Civil (begin/end)
  • Nautical (begin/end)
  • Astronomical (begin/end)
  • Midnight
  • Polar Night

Moon

  • Rise/Fall
  • Phase
  • Phase Name
  • Illumination
  • Age
  • Angle
3 Likes

Examples for these are from: https://www.aerisweather.com/

Weather
https://www.aerisweather.com/support/docs/api/reference/endpoints/forecasts/
https://www.aerisweather.com/support/docs/api/reference/endpoints/observations/

Sun/Moon
https://www.aerisweather.com/support/docs/api/reference/endpoints/sunmoon/

3 Likes