Skip to content

Instantly share code, notes, and snippets.

@drkpxl
Created November 7, 2016 15:34
Show Gist options
  • Select an option

  • Save drkpxl/fb74b863698d49bfaa124146c4043e67 to your computer and use it in GitHub Desktop.

Select an option

Save drkpxl/fb74b863698d49bfaa124146c4043e67 to your computer and use it in GitHub Desktop.
{
"success": "true",
"version": "1.1",
"retrieved_at": "2016-11-07 02:19:48",
"results": {
"location13": {
"meta": {
"location_id": "13",
"snow_id": "303021",
"print_name": "Steamboat, CO",
"name": "Steamboat",
"shortname": "steamboat",
"state": "Colorado",
"shortstate": "CO",
"custom_forecast": "y",
"url": "http:\/\/opensnow.com\/location\/steamboat",
"icon_url": "http:\/\/opensnow.com\/img\/wxicons\/new\/"
},
"forecast": {
"updated_at": "2016-11-06 23:47:00",
"period0": {
"night": {
"snow": "12",
"weather": "Partly Cloudy",
"wind_dir": "W",
"wind_speed": "Gusts to 20-30mph",
"temp": "28",
"icon": "nsct.png"
}
},
"period1": {
"date": "2016-11-07",
"dow": "Monday",
"day": {
"snow": "4",
"weather": "Sunny",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "47",
"icon": "few.png"
},
"night": {
"snow": "5",
"weather": "Mostly Clear",
"wind_dir": "SE",
"wind_speed": "Less than 20mph",
"temp": "27",
"icon": "nfew.png"
}
},
"period2": {
"date": "2016-11-08",
"dow": "Tuesday",
"day": {
"snow": "5",
"weather": "Sunny",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "45",
"icon": "few.png"
},
"night": {
"snow": "6",
"weather": "Mostly Clear",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "28",
"icon": "nfew.png"
}
},
"period3": {
"date": "2016-11-09",
"dow": "Wednesday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "47",
"icon": "skc.png"
},
"night": {
"snow": "0",
"weather": "Clear",
"wind_dir": "S",
"wind_speed": "Less than 20mph",
"temp": "30",
"icon": "nskc.png"
}
},
"period4": {
"date": "2016-11-10",
"dow": "Thursday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "NE",
"wind_speed": "Gusts to 20-30mph",
"temp": "45",
"icon": "skc.png"
},
"night": {
"snow": "0",
"weather": "Mostly Clear",
"wind_dir": "SE",
"wind_speed": "Gusts to 20-30mph",
"temp": "29",
"icon": "nfew.png"
}
},
"period5": {
"date": "2016-11-11",
"dow": "Friday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "NW",
"wind_speed": "Less than 20mph",
"temp": "44",
"icon": "skc.png"
},
"night": {
"snow": "0",
"weather": "Mostly Clear",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "28",
"icon": "nfew.png"
}
}
}
},
"location16": {
"meta": {
"location_id": "16",
"snow_id": "303024",
"print_name": "Winter Park, CO",
"name": "Winter Park",
"shortname": "winterpark",
"state": "Colorado",
"shortstate": "CO",
"custom_forecast": "y",
"url": "http:\/\/opensnow.com\/location\/winterpark",
"icon_url": "http:\/\/opensnow.com\/img\/wxicons\/new\/"
},
"current_conditions": {
"temp": "29",
"wind_dir": "N",
"wind_speed": "13",
"location": "Located Nearby",
"updated_at": "2016-11-07 01:00:00"
},
"forecast": {
"updated_at": "2016-11-06 21:55:00",
"period0": {
"night": {
"snow": "0",
"weather": "Mostly Clear",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "28",
"icon": "nfew.png"
}
},
"period1": {
"date": "2016-11-07",
"dow": "Monday",
"day": {
"snow": "0",
"weather": "Mostly Sunny",
"wind_dir": "NW",
"wind_speed": "Less than 20mph",
"temp": "40",
"icon": "sct.png"
},
"night": {
"snow": "0",
"weather": "Clear",
"wind_dir": "SW",
"wind_speed": "Less than 20mph",
"temp": "24",
"icon": "nskc.png"
}
},
"period2": {
"date": "2016-11-08",
"dow": "Tuesday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "44",
"icon": "skc.png"
},
"night": {
"snow": "0",
"weather": "Clear",
"wind_dir": "SW",
"wind_speed": "Less than 20mph",
"temp": "27",
"icon": "nskc.png"
}
},
"period3": {
"date": "2016-11-09",
"dow": "Wednesday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "48",
"icon": "skc.png"
},
"night": {
"snow": "0",
"weather": "Clear",
"wind_dir": "SW",
"wind_speed": "Less than 20mph",
"temp": "28",
"icon": "nskc.png"
}
},
"period4": {
"date": "2016-11-10",
"dow": "Thursday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "SE",
"wind_speed": "Gusts to 20-30mph",
"temp": "45",
"icon": "skc.png"
},
"night": {
"snow": "0",
"weather": "Mostly Clear",
"wind_dir": "S",
"wind_speed": "Gusts to 20-30mph",
"temp": "27",
"icon": "nfew.png"
}
},
"period5": {
"date": "2016-11-11",
"dow": "Friday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "44",
"icon": "few.png"
},
"night": {
"snow": "0",
"weather": "Mostly Clear",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "28",
"icon": "nfew.png"
}
}
}
},
"location199": {
"meta": {
"location_id": "199",
"snow_id": "802019",
"print_name": "Stratton, VT",
"name": "Stratton",
"shortname": "stratton",
"state": "Vermont",
"shortstate": "VT",
"custom_forecast": "n",
"url": "http:\/\/opensnow.com\/location\/stratton",
"icon_url": "http:\/\/opensnow.com\/img\/wxicons\/new\/"
},
"forecast": {
"updated_at": "2016-11-06 23:45:00",
"period0": {
"night": {
"snow": "0",
"weather": "Mostly Clear",
"wind_dir": "NW",
"wind_speed": "Less than 20mph",
"temp": "26",
"icon": "nfew.png"
}
},
"period1": {
"date": "2016-11-07",
"dow": "Monday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "NW",
"wind_speed": "Less than 20mph",
"temp": "45",
"icon": "few.png"
},
"night": {
"snow": "0",
"weather": "Clear",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "33",
"icon": "nskc.png"
}
},
"period2": {
"date": "2016-11-08",
"dow": "Tuesday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "55",
"icon": "few.png"
},
"night": {
"snow": "0",
"weather": "Partly Cloudy then Chance Showers",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "38",
"icon": "nsct.png"
}
},
"period3": {
"date": "2016-11-09",
"dow": "Wednesday",
"day": {
"snow": "0",
"weather": "Chance Showers",
"wind_dir": "NW",
"wind_speed": "Less than 20mph",
"temp": "43",
"icon": "shra.png"
},
"night": {
"snow": "0",
"weather": "Mostly Cloudy",
"wind_dir": "W",
"wind_speed": "Gusts to 20-30mph",
"temp": "27",
"icon": "nbkn.png"
}
},
"period4": {
"date": "2016-11-10",
"dow": "Thursday",
"day": {
"snow": "0",
"weather": "Partly Sunny",
"wind_dir": "W",
"wind_speed": "Gusts to 20-30mph",
"temp": "42",
"icon": "bkn.png"
},
"night": {
"snow": "0",
"weather": "Mostly Cloudy",
"wind_dir": "W",
"wind_speed": "Gusts to 30-40mph",
"temp": "35",
"icon": "nbkn.png"
}
},
"period5": {
"date": "2016-11-11",
"dow": "Friday",
"day": {
"snow": "0-1",
"weather": "Chance Showers",
"wind_dir": "NW",
"wind_speed": "Gusts to 30-40mph",
"temp": "41",
"icon": "shra.png"
},
"night": {
"snow": "0-1",
"weather": "Chance Snow Showers",
"wind_dir": "NW",
"wind_speed": "Gusts to 20-30mph",
"temp": "24",
"icon": "nsn.png"
}
}
}
},
"location268": {
"meta": {
"location_id": "268",
"snow_id": "304001",
"print_name": "Snowshoe, WV",
"name": "Snowshoe",
"shortname": "snowshoe",
"state": "West Virginia",
"shortstate": "WV",
"custom_forecast": "n",
"url": "http:\/\/opensnow.com\/location\/snowshoe",
"icon_url": "http:\/\/opensnow.com\/img\/wxicons\/new\/"
},
"current_conditions": {
"temp": "48",
"wind_dir": "NE",
"wind_speed": "4",
"location": "Located Nearby",
"updated_at": "2016-11-07 02:01:00"
},
"forecast": {
"updated_at": "2016-11-06 23:07:00",
"period0": {
"night": {
"snow": "0",
"weather": "Clear",
"wind_dir": "NW",
"wind_speed": "Less than 20mph",
"temp": "43",
"icon": "nskc.png"
}
},
"period1": {
"date": "2016-11-07",
"dow": "Monday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "SE",
"wind_speed": "Less than 20mph",
"temp": "60",
"icon": "skc.png"
},
"night": {
"snow": "0",
"weather": "Mostly Clear",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "40",
"icon": "nfew.png"
}
},
"period2": {
"date": "2016-11-08",
"dow": "Tuesday",
"day": {
"snow": "0",
"weather": "Mostly Sunny",
"wind_dir": "W",
"wind_speed": "Less than 20mph",
"temp": "55",
"icon": "sct.png"
},
"night": {
"snow": "0",
"weather": "Chance Showers",
"wind_dir": "W",
"wind_speed": "Gusts to 20-30mph",
"temp": "40",
"icon": "nshra.png"
}
},
"period3": {
"date": "2016-11-09",
"dow": "Wednesday",
"day": {
"snow": "0",
"weather": "Chance Showers",
"wind_dir": "NW",
"wind_speed": "Gusts to 30-40mph",
"temp": "44",
"icon": "shra.png"
},
"night": {
"snow": "0",
"weather": "Partly Cloudy",
"wind_dir": "NW",
"wind_speed": "Gusts to 30-40mph",
"temp": "34",
"icon": "nsct.png"
}
},
"period4": {
"date": "2016-11-10",
"dow": "Thursday",
"day": {
"snow": "0",
"weather": "Sunny",
"wind_dir": "NW",
"wind_speed": "Gusts to 30-40mph",
"temp": "49",
"icon": "few.png"
},
"night": {
"snow": "0",
"weather": "Mostly Clear",
"wind_dir": "NW",
"wind_speed": "Gusts to 40-50mph",
"temp": "37",
"icon": "nfew.png"
}
},
"period5": {
"date": "2016-11-11",
"dow": "Friday",
"day": {
"snow": "0",
"weather": "Mostly Sunny",
"wind_dir": "NW",
"wind_speed": "Gusts to 40-50mph",
"temp": "47",
"icon": "sct.png"
},
"night": {
"snow": "0",
"weather": "Partly Cloudy",
"wind_dir": "N",
"wind_speed": "Gusts to 20-30mph",
"temp": "28",
"icon": "nsct.png"
}
}
}
},
"location405": {
"meta": {
"location_id": "405",
"snow_id": "705001",
"print_name": "Blue Mountain, ON",
"name": "Blue Mountain",
"shortname": "cabluemtn",
"state": "Ontario",
"shortstate": "ON",
"custom_forecast": "n",
"url": "http:\/\/opensnow.com\/location\/cabluemtn",
"icon_url": "http:\/\/opensnow.com\/img\/wxicons\/new\/"
},
"forecast": {
"updated_at": "2016-11-06 12:00:00",
"period0": {
"night": {
"snow": "0",
"weather": "Clear",
"wind_dir": "SW",
"wind_speed": "Less than 20mph",
"temp": "44",
"icon": "nskc.png"
}
},
"period1": {
"date": "2016-11-07",
"dow": "Monday",
"day": {
"snow": "0",
"weather": "Clear",
"wind_dir": "SW",
"wind_speed": "Less than 20mph",
"temp": "60",
"icon": "skc.png"
},
"night": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "SW",
"wind_speed": "Gusts to 20-30mph",
"temp": "47",
"icon": "ovc.png"
}
},
"period2": {
"date": "2016-11-08",
"dow": "Tuesday",
"day": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "W",
"wind_speed": "Gusts to 20-30mph",
"temp": "56",
"icon": "ovc.png"
},
"night": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "N",
"wind_speed": "Gusts to 30-40mph",
"temp": "41",
"icon": "ovc.png"
}
},
"period3": {
"date": "2016-11-09",
"dow": "Wednesday",
"day": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "NW",
"wind_speed": "Gusts to 20-30mph",
"temp": "41",
"icon": "ovc.png"
},
"night": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "SW",
"wind_speed": "Gusts to 30-40mph",
"temp": "38",
"icon": "ovc.png"
}
},
"period4": {
"date": "2016-11-10",
"dow": "Thursday",
"day": {
"snow": "0",
"weather": "Clear",
"wind_dir": "SW",
"wind_speed": "Gusts to 40-50mph",
"temp": "55",
"icon": "skc.png"
},
"night": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "NW",
"wind_speed": "Gusts to 40-50mph",
"temp": "38",
"icon": "ovc.png"
}
},
"period5": {
"date": "2016-11-11",
"dow": "Friday",
"day": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "N",
"wind_speed": "Gusts to 30-40mph",
"temp": "38",
"icon": "ovc.png"
},
"night": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "NW",
"wind_speed": "Gusts to 20-30mph",
"temp": "33",
"icon": "ovc.png"
}
}
}
},
"location517": {
"meta": {
"location_id": "517",
"snow_id": "819009",
"print_name": "Mont Tremblant, QC",
"name": "Mont Tremblant",
"shortname": "catremblant",
"state": "Quebec",
"shortstate": "QC",
"custom_forecast": "n",
"url": "http:\/\/opensnow.com\/location\/catremblant",
"icon_url": "http:\/\/opensnow.com\/img\/wxicons\/new\/"
},
"forecast": {
"updated_at": "2016-11-06 12:00:00",
"period0": {
"night": {
"snow": "0",
"weather": "Clear",
"wind_dir": "SE",
"wind_speed": "Less than 20mph",
"temp": "28",
"icon": "nskc.png"
}
},
"period1": {
"date": "2016-11-07",
"dow": "Monday",
"day": {
"snow": "0",
"weather": "Clear",
"wind_dir": "SW",
"wind_speed": "Less than 20mph",
"temp": "43",
"icon": "skc.png"
},
"night": {
"snow": "0",
"weather": "Clear",
"wind_dir": "S",
"wind_speed": "Less than 20mph",
"temp": "30",
"icon": "nskc.png"
}
},
"period2": {
"date": "2016-11-08",
"dow": "Tuesday",
"day": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "SW",
"wind_speed": "Less than 20mph",
"temp": "47",
"icon": "ovc.png"
},
"night": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "N",
"wind_speed": "Gusts to 20-30mph",
"temp": "35",
"icon": "ovc.png"
}
},
"period3": {
"date": "2016-11-09",
"dow": "Wednesday",
"day": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "NW",
"wind_speed": "Gusts to 20-30mph",
"temp": "36",
"icon": "ovc.png"
},
"night": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "SW",
"wind_speed": "Less than 20mph",
"temp": "29",
"icon": "ovc.png"
}
},
"period4": {
"date": "2016-11-10",
"dow": "Thursday",
"day": {
"snow": "0",
"weather": "Cloudy",
"wind_dir": "SW",
"wind_speed": "Gusts to 20-30mph",
"temp": "42",
"icon": "ovc.png"
},
"night": {
"snow": "0-1",
"weather": "Rain\/Snow",
"wind_dir": "W",
"wind_speed": "Gusts to 30-40mph",
"temp": "31",
"icon": "rasn.png"
}
},
"period5": {
"date": "2016-11-11",
"dow": "Friday",
"day": {
"snow": "0-1",
"weather": "Chance of Snow",
"wind_dir": "NW",
"wind_speed": "Gusts to 30-40mph",
"temp": "32",
"icon": "chancesn.png"
},
"night": {
"snow": "0",
"weather": "Mostly Cloudy",
"wind_dir": "NW",
"wind_speed": "Gusts to 20-30mph",
"temp": "25",
"icon": "nsct.png"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment