Last active
July 19, 2016 21:18
-
-
Save alexhsamuel/e3cb1fb826c9875b2ba27ea894f5b4d0 to your computer and use it in GitHub Desktop.
sample response from https://www.metaweather.com/api/location/2459115/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sources" : [ | |
{ | |
"slug" : "bbc", | |
"url" : "http://www.bbc.co.uk/weather/", | |
"title" : "BBC" | |
}, | |
{ | |
"slug" : "forecast-io", | |
"url" : "http://forecast.io/", | |
"title" : "Forecast.io" | |
}, | |
{ | |
"slug" : "hamweather", | |
"url" : "http://www.hamweather.com/", | |
"title" : "HAMweather" | |
}, | |
{ | |
"url" : "http://www.metoffice.gov.uk/", | |
"slug" : "met-office", | |
"title" : "Met Office" | |
}, | |
{ | |
"title" : "OpenWeatherMap", | |
"url" : "http://openweathermap.org/", | |
"slug" : "openweathermap" | |
}, | |
{ | |
"title" : "Weather Underground", | |
"url" : "http://www.wunderground.com/?apiref=fc30dc3cd224e19b", | |
"slug" : "wunderground" | |
}, | |
{ | |
"title" : "World Weather Online", | |
"url" : "http://www.worldweatheronline.com/", | |
"slug" : "world-weather-online" | |
}, | |
{ | |
"title" : "Yahoo", | |
"slug" : "yahoo", | |
"url" : "http://weather.yahoo.com/" | |
} | |
], | |
"latt_long" : "40.71455,-74.007118", | |
"woeid" : 2459115, | |
"parent" : { | |
"woeid" : 2347591, | |
"latt_long" : "42.855350,-76.501671", | |
"title" : "New York", | |
"location_type" : "Region / State / Province" | |
}, | |
"title" : "New York", | |
"location_type" : "City", | |
"timezone_name" : "EDT", | |
"timezone" : "US/Eastern", | |
"sun_set" : "2016-07-19T20:23:39.570230-04:00", | |
"consolidated_weather" : [ | |
{ | |
"id" : 5499666707775488, | |
"weather_state_abbr" : "lc", | |
"air_pressure" : 1019.27, | |
"weather_state_name" : "Light Cloud", | |
"applicable_date" : "2016-07-19", | |
"wind_speed" : 9.58441943591256, | |
"wind_direction" : 302.967195003222, | |
"created" : "2016-07-19T18:53:45.351560Z", | |
"min_temp" : 20.495, | |
"humidity" : 41, | |
"visibility" : 13.9743274278215, | |
"predictability" : 70, | |
"max_temp" : 29.5083333333333, | |
"wind_direction_compass" : "WNW", | |
"the_temp" : 27.2833333333333 | |
}, | |
{ | |
"the_temp" : 25.94, | |
"wind_direction_compass" : "NE", | |
"max_temp" : 28.2683333333333, | |
"predictability" : 70, | |
"visibility" : 14.3139067843792, | |
"humidity" : 45, | |
"wind_direction" : 55.9168331661233, | |
"min_temp" : 20.33, | |
"wind_speed" : 4.40638560146573, | |
"created" : "2016-07-19T18:53:48.434760Z", | |
"applicable_date" : "2016-07-20", | |
"weather_state_name" : "Light Cloud", | |
"weather_state_abbr" : "lc", | |
"air_pressure" : 1021.53, | |
"id" : 6387203580100608 | |
}, | |
{ | |
"applicable_date" : "2016-07-21", | |
"humidity" : 57, | |
"wind_direction" : 203.672821446415, | |
"min_temp" : 22.41, | |
"wind_speed" : 8.44824294634307, | |
"created" : "2016-07-19T18:53:51.303780Z", | |
"wind_direction_compass" : "SSW", | |
"predictability" : 70, | |
"visibility" : 13.8450822198362, | |
"max_temp" : 30.33, | |
"the_temp" : 28.07, | |
"id" : 4561749869068288, | |
"weather_state_abbr" : "lc", | |
"air_pressure" : 1018.045, | |
"weather_state_name" : "Light Cloud" | |
}, | |
{ | |
"weather_state_abbr" : "s", | |
"air_pressure" : 1009.27, | |
"weather_state_name" : "Showers", | |
"id" : 5351068758179840, | |
"max_temp" : 32.12, | |
"predictability" : 73, | |
"visibility" : 12.216157639386, | |
"wind_direction_compass" : "SW", | |
"the_temp" : 28.9566666666667, | |
"applicable_date" : "2016-07-22", | |
"created" : "2016-07-19T18:53:54.518300Z", | |
"wind_direction" : 222.336865408739, | |
"wind_speed" : 10.6615739213496, | |
"min_temp" : 23.6583333333333, | |
"humidity" : 60 | |
}, | |
{ | |
"air_pressure" : 1009.63, | |
"weather_state_abbr" : "hc", | |
"weather_state_name" : "Heavy Cloud", | |
"id" : 5696716183437312, | |
"max_temp" : 32.725, | |
"predictability" : 71, | |
"visibility" : 17.6954088125348, | |
"wind_direction_compass" : "WNW", | |
"the_temp" : 29.8933333333333, | |
"applicable_date" : "2016-07-23", | |
"wind_speed" : 7.044544311302, | |
"wind_direction" : 293.498375959071, | |
"created" : "2016-07-19T18:53:57.464250Z", | |
"min_temp" : 23.7633333333333, | |
"humidity" : 56 | |
}, | |
{ | |
"id" : 4979828696547328, | |
"weather_state_name" : "Heavy Cloud", | |
"weather_state_abbr" : "hc", | |
"air_pressure" : 1017.05, | |
"wind_direction" : 262.619970571008, | |
"wind_speed" : 5.21437429412233, | |
"min_temp" : 24.836, | |
"created" : "2016-07-19T18:53:59.943140Z", | |
"humidity" : 58, | |
"applicable_date" : "2016-07-24", | |
"the_temp" : 28.135, | |
"visibility" : null, | |
"predictability" : 71, | |
"max_temp" : 31.28, | |
"wind_direction_compass" : "W" | |
} | |
], | |
"sun_rise" : "2016-07-19T05:41:21.856671-04:00", | |
"time" : "2016-07-19T16:47:09.259340-04:00" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment