Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Example code for accessing Forecast.io API

View APITest.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
package misc.webapi;
 
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.util.EntityUtils;
import org.junit.Test;
 
public class APITest {
 
@Test
public void testForecastIO() throws Exception {
final String url = "https://api.forecast.io/forecast/<YOUR API KEY HERE>/51.7588645,-0.2343055?units=auto";
 
final HttpGet get = new HttpGet(url);
final DefaultHttpClient client = new DefaultHttpClient();
 
final HttpResponse response = client.execute(get);
final int responseCode = response.getStatusLine().getStatusCode();
 
if (responseCode == 200) {
final String data = EntityUtils.toString(response.getEntity());
System.out.println(data);
} else {
System.out.println("API call returned HTTP error code: "
+ responseCode);
}
}
}
View APITest.java
1
{"latitude":51.7588645,"longitude":-0.2343055,"timezone":"Europe/London","offset":1,"currently":{"time":1370621379,"summary":"Light Rain","icon":"rain","precipIntensity":0.797,"precipIntensityError":0.204,"precipProbability":0.97,"precipType":"rain","temperature":18.98,"dewPoint":10.1,"windSpeed":14.46,"windBearing":59,"cloudCover":0.42,"humidity":0.55,"pressure":1023.78,"visibility":9.98,"ozone":355.4},"minutely":{"summary":"Light rain for the hour.","icon":"rain","data":[{"time":1370621340,"precipIntensity":0.746,"precipIntensityError":0.176,"precipProbability":0.98,"precipType":"rain"},{"time":1370621400,"precipIntensity":0.824,"precipIntensityError":0.218,"precipProbability":0.97,"precipType":"rain"},{"time":1370621460,"precipIntensity":0.826,"precipIntensityError":0.226,"precipProbability":0.97,"precipType":"rain"},{"time":1370621520,"precipIntensity":0.83,"precipIntensityError":0.234,"precipProbability":0.96,"precipType":"rain"},{"time":1370621580,"precipIntensity":0.838,"precipIntensityError":0.243,"precipProbability":0.95,"precipType":"rain"},{"time":1370621640,"precipIntensity":0.831,"precipIntensityError":0.249,"precipProbability":0.95,"precipType":"rain"},{"time":1370621700,"precipIntensity":0.859,"precipIntensityError":0.267,"precipProbability":0.94,"precipType":"rain"},{"time":1370621760,"precipIntensity":0.826,"precipIntensityError":0.277,"precipProbability":0.88,"precipType":"rain"},{"time":1370621820,"precipIntensity":0.838,"precipIntensityError":0.282,"precipProbability":0.87,"precipType":"rain"},{"time":1370621880,"precipIntensity":0.852,"precipIntensityError":0.287,"precipProbability":0.86,"precipType":"rain"},{"time":1370621940,"precipIntensity":0.866,"precipIntensityError":0.292,"precipProbability":0.85,"precipType":"rain"},{"time":1370622000,"precipIntensity":0.851,"precipIntensityError":0.293,"precipProbability":0.86,"precipType":"rain"},{"time":1370622060,"precipIntensity":0.867,"precipIntensityError":0.298,"precipProbability":0.85,"precipType":"rain"},{"time":1370622120,"precipIntensity":0.885,"precipIntensityError":0.305,"precipProbability":0.85,"precipType":"rain"},{"time":1370622180,"precipIntensity":0.904,"precipIntensityError":0.313,"precipProbability":0.84,"precipType":"rain"},{"time":1370622240,"precipIntensity":0.899,"precipIntensityError":0.313,"precipProbability":0.85,"precipType":"rain"},{"time":1370622300,"precipIntensity":0.904,"precipIntensityError":0.317,"precipProbability":0.85,"precipType":"rain"},{"time":1370622360,"precipIntensity":0.938,"precipIntensityError":0.328,"precipProbability":0.79,"precipType":"rain"},{"time":1370622420,"precipIntensity":0.959,"precipIntensityError":0.335,"precipProbability":0.78,"precipType":"rain"},{"time":1370622480,"precipIntensity":0.978,"precipIntensityError":0.341,"precipProbability":0.78,"precipType":"rain"},{"time":1370622540,"precipIntensity":0.999,"precipIntensityError":0.348,"precipProbability":0.77,"precipType":"rain"},{"time":1370622600,"precipIntensity":0.978,"precipIntensityError":0.342,"precipProbability":0.8,"precipType":"rain"},{"time":1370622660,"precipIntensity":0.997,"precipIntensityError":0.349,"precipProbability":0.79,"precipType":"rain"},{"time":1370622720,"precipIntensity":1.019,"precipIntensityError":0.358,"precipProbability":0.79,"precipType":"rain"},{"time":1370622780,"precipIntensity":1.039,"precipIntensityError":0.365,"precipProbability":0.78,"precipType":"rain"},{"time":1370622840,"precipIntensity":1.026,"precipIntensityError":0.364,"precipProbability":0.81,"precipType":"rain"},{"time":1370622900,"precipIntensity":1.036,"precipIntensityError":0.37,"precipProbability":0.8,"precipType":"rain"},{"time":1370622960,"precipIntensity":1.08,"precipIntensityError":0.378,"precipProbability":0.76,"precipType":"rain"},{"time":1370623020,"precipIntensity":1.101,"precipIntensityError":0.385,"precipProbability":0.76,"precipType":"rain"},{"time":1370623080,"precipIntensity":1.119,"precipIntensityError":0.392,"precipProbability":0.76,"precipType":"rain"},{"time":1370623140,"precipIntensity":1.139,"precipIntensityError":0.399,"precipProbability":0.75,"precipType":"rain"},{"time":1370623200,"precipIntensity":1.108,"precipIntensityError":0.394,"precipProbability":0.78,"precipType":"rain"},{"time":1370623260,"precipIntensity":1.128,"precipIntensityError":0.402,"precipProbability":0.78,"precipType":"rain"},{"time":1370623320,"precipIntensity":1.145,"precipIntensityError":0.409,"precipProbability":0.77,"precipType":"rain"},{"time":1370623380,"precipIntensity":1.165,"precipIntensityError":0.418,"precipProbability":0.77,"precipType":"rain"},{"time":1370623440,"precipIntensity":1.138,"precipIntensityError":0.416,"precipProbability":0.8,"precipType":"rain"},{"time":1370623500,"precipIntensity":1.148,"precipIntensityError":0.422,"precipProbability":0.79,"precipType":"rain"},{"time":1370623560,"precipIntensity":1.188,"precipIntensityError":0.433,"precipProbability":0.76,"precipType":"rain"},{"time":1370623620,"precipIntensity":1.204,"precipIntensityError":0.439,"precipProbability":0.76,"precipType":"rain"},{"time":1370623680,"precipIntensity":1.223,"precipIntensityError":0.447,"precipProbability":0.76,"precipType":"rain"},{"time":1370623740,"precipIntensity":1.239,"precipIntensityError":0.454,"precipProbability":0.76,"precipType":"rain"},{"time":1370623800,"precipIntensity":1.204,"precipIntensityError":0.45,"precipProbability":0.78,"precipType":"rain"},{"time":1370623860,"precipIntensity":1.222,"precipIntensityError":0.458,"precipProbability":0.78,"precipType":"rain"},{"time":1370623920,"precipIntensity":1.238,"precipIntensityError":0.466,"precipProbability":0.77,"precipType":"rain"},{"time":1370623980,"precipIntensity":1.257,"precipIntensityError":0.474,"precipProbability":0.77,"precipType":"rain"},{"time":1370624040,"precipIntensity":1.219,"precipIntensityError":0.471,"precipProbability":0.79,"precipType":"rain"},{"time":1370624100,"precipIntensity":1.235,"precipIntensityError":0.479,"precipProbability":0.79,"precipType":"rain"},{"time":1370624160,"precipIntensity":1.264,"precipIntensityError":0.488,"precipProbability":0.76,"precipType":"rain"},{"time":1370624220,"precipIntensity":1.283,"precipIntensityError":0.496,"precipProbability":0.76,"precipType":"rain"},{"time":1370624280,"precipIntensity":1.302,"precipIntensityError":0.504,"precipProbability":0.75,"precipType":"rain"},{"time":1370624340,"precipIntensity":1.32,"precipIntensityError":0.513,"precipProbability":0.75,"precipType":"rain"},{"time":1370624400,"precipIntensity":1.284,"precipIntensityError":0.508,"precipProbability":0.77,"precipType":"rain"},{"time":1370624460,"precipIntensity":1.303,"precipIntensityError":0.517,"precipProbability":0.76,"precipType":"rain"},{"time":1370624520,"precipIntensity":1.323,"precipIntensityError":0.526,"precipProbability":0.76,"precipType":"rain"},{"time":1370624580,"precipIntensity":1.342,"precipIntensityError":0.535,"precipProbability":0.75,"precipType":"rain"},{"time":1370624640,"precipIntensity":1.306,"precipIntensityError":0.533,"precipProbability":0.76,"precipType":"rain"},{"time":1370624700,"precipIntensity":1.325,"precipIntensityError":0.541,"precipProbability":0.76,"precipType":"rain"},{"time":1370624760,"precipIntensity":1.355,"precipIntensityError":0.548,"precipProbability":0.73,"precipType":"rain"},{"time":1370624820,"precipIntensity":1.376,"precipIntensityError":0.557,"precipProbability":0.73,"precipType":"rain"},{"time":1370624880,"precipIntensity":1.397,"precipIntensityError":0.567,"precipProbability":0.72,"precipType":"rain"},{"time":1370624940,"precipIntensity":1.419,"precipIntensityError":0.577,"precipProbability":0.72,"precipType":"rain"}]},"hourly":{"summary":"Light rain later this evening.","icon":"rain","data":[{"time":1370620800,"summary":"Sprinkling","icon":"rain","precipIntensity":0.308,"precipProbability":0.06,"precipType":"rain","temperature":19,"dewPoint":10,"windSpeed":13.98,"windBearing":60,"cloudCover":0.46,"humidity":0.56,"pressure":1023.78,"visibility":9.99,"ozone":355.38},{"time":1370624400,"summary":"Light Rain","icon":"rain","precipIntensity":0.805,"precipProbability":0.05,"precipType":"rain","temperature":18.83,"dewPoint":9,"windSpeed":14.12,"windBearing":52,"cloudCover":0.21,"humidity":0.53,"pressure":1023.75,"visibility":8.51,"ozone":355.51},{"time":1370628000,"summary":"Clear","icon":"clear-day","precipIntensity":0,"temperature":18.16,"dewPoint":8.25,"windSpeed":14.07,"windBearing":47,"cloudCover":0.04,"humidity":0.53,"pressure":1023.81,"visibility":6.17,"ozone":355.71},{"time":1370631600,"summary":"Clear","icon":"clear-day","precipIntensity":0,"temperature":16.8,"dewPoint":7.76,"windSpeed":13.39,"windBearing":45,"cloudCover":0,"humidity":0.56,"pressure":1024.04,"visibility":8.06,"ozone":355.97},{"time":1370635200,"summary":"Clear","icon":"clear-day","precipIntensity":0,"temperature":15.02,"dewPoint":7.39,"windSpeed":12.39,"windBearing":45,"cloudCover":0,"humidity":0.61,"pressure":1024.37,"visibility":11.94,"ozone":356.3},{"time":1370638800,"summary":"Clear","icon":"clear-night","precipIntensity":0,"temperature":13.33,"dewPoint":7.14,"windSpeed":11.62,"windBearing":45,"cloudCover":0,"humidity":0.67,"pressure":1024.62,"visibility":15.11,"ozone":356.62},{"time":1370642400,"summary":"Clear","icon":"clear-night","precipIntensity":0,"temperature":11.87,"dewPoint":7.05,"windSpeed":11.28,"windBearing":45,"cloudCover":0,"humidity":0.73,"pressure":1024.7,"visibility":16.09,"ozone":356.9},{"time":1370646000,"summary":"Clear","icon":"clear-night","precipIntensity":0,"temperature":10.55,"dewPoint":7.07,"windSpeed":11.16,"windBearing":44,"cloudCover":0,"humidity":0.79,"pressure":1024.68,"visibility":16.09,"ozone":357.17},{"time":1370649600,"summary":"Clear","icon":"clear-night","precipIntensity":0,"temperature":9.53,"dewPoint":7.1,"windSpeed":11.08,"windBearing":44,"cloudCover":0.02,"humidity":0.84,"pressure":1024.61,"visibility":16.09,"ozone":357.34},{"time":1370653200,"summary":"Clear","icon":"clear-night","precipIntensity":0,"temperature":8.89,"dewPoint":7.12,"windSpeed":10.95,"windBearing":44,"cloudCover":0.1,"humidity":0.88,"pressure":1024.51,"visibility":16.09,"ozone":357.43},{"time":1370656800,"summary":"Partly Cloudy","icon":"partly-cloudy-night","precipIntensity":0,"temperature":8.53,"dewPoint":7.15,"windSpeed":10.86,"windBearing":43,"cloudCover":0.21,"humidity":0.9,"pressure":1024.37,"visibility":16.09,"ozone":357.42},{"time":1370660400,"summary":"Partly Cloudy","icon":"partly-cloudy-night","precipIntensity":0,"temperature":8.43,"dewPoint":7.18,"windSpeed":10.99,"windBearing":43,"cloudCover":0.29,"humidity":0.91,"pressure":1024.19,"visibility":16.09,"ozone":357.23},{"time":1370664000,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":8.58,"dewPoint":7.23,"windSpeed":11.5,"windBearing":43,"cloudCover":0.32,"humidity":0.9,"pressure":1023.97,"visibility":16.09,"ozone":356.64},{"time":1370667600,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":8.98,"dewPoint":7.29,"windSpeed":12.2,"windBearing":43,"cloudCover":0.32,"humidity":0.87,"pressure":1023.75,"visibility":16.09,"ozone":355.87},{"time":1370671200,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":9.62,"dewPoint":7.33,"windSpeed":12.74,"windBearing":43,"cloudCover":0.29,"humidity":0.84,"pressure":1023.55,"visibility":16.09,"ozone":355.52},{"time":1370674800,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":10.63,"dewPoint":7.32,"windSpeed":12.94,"windBearing":43,"cloudCover":0.2,"humidity":0.79,"pressure":1023.41,"visibility":16.09,"ozone":356.02},{"time":1370678400,"summary":"Clear","icon":"clear-day","precipIntensity":0,"temperature":11.91,"dewPoint":7.31,"windSpeed":12.98,"windBearing":43,"cloudCover":0.09,"humidity":0.73,"pressure":1023.29,"visibility":16.09,"ozone":356.95},{"time":1370682000,"summary":"Clear","icon":"clear-day","precipIntensity":0,"temperature":13.17,"dewPoint":7.38,"windSpeed":13.02,"windBearing":44,"cloudCover":0,"humidity":0.67,"pressure":1023.11,"visibility":16.09,"ozone":357.59},{"time":1370685600,"summary":"Clear","icon":"clear-day","precipIntensity":0,"temperature":14.35,"dewPoint":7.6,"windSpeed":13.11,"windBearing":44,"cloudCover":0,"humidity":0.63,"pressure":1022.82,"visibility":16.09,"ozone":357.71},{"time":1370689200,"summary":"Clear","icon":"clear-day","precipIntensity":0,"temperature":15.45,"dewPoint":7.9,"windSpeed":13.18,"windBearing":44,"cloudCover":0,"humidity":0.6,"pressure":1022.47,"visibility":16.09,"ozone":357.54},{"time":1370692800,"summary":"Clear","icon":"clear-day","precipIntensity":0,"temperature":16.29,"dewPoint":8.12,"windSpeed":13.24,"windBearing":45,"cloudCover":0,"humidity":0.58,"pressure":1022.09,"visibility":16.09,"ozone":357.06},{"time":1370696400,"summary":"Clear","icon":"clear-day","precipIntensity":0,"temperature":16.85,"dewPoint":8.18,"windSpeed":13.23,"windBearing":45,"cloudCover":0.08,"humidity":0.57,"pressure":1021.68,"visibility":16.09,"ozone":356.19},{"time":1370700000,"summary":"Clear","icon":"clear-day","precipIntensity":0,"temperature":17.15,"dewPoint":8.17,"windSpeed":13.21,"windBearing":45,"cloudCover":0.19,"humidity":0.56,"pressure":1021.24,"visibility":16.09,"ozone":355},{"time":1370703600,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":17.14,"dewPoint":8.17,"windSpeed":13.38,"windBearing":45,"cloudCover":0.27,"humidity":0.56,"pressure":1020.85,"visibility":16.09,"ozone":353.78},{"time":1370707200,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":16.74,"dewPoint":8.24,"windSpeed":14.03,"windBearing":45,"cloudCover":0.3,"humidity":0.58,"pressure":1020.54,"visibility":16.09,"ozone":352.51},{"time":1370710800,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":16.05,"dewPoint":8.33,"windSpeed":14.85,"windBearing":45,"cloudCover":0.3,"humidity":0.61,"pressure":1020.3,"visibility":16.09,"ozone":351.19},{"time":1370714400,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":15.2,"dewPoint":8.33,"windSpeed":15.14,"windBearing":45,"cloudCover":0.3,"humidity":0.64,"pressure":1020.16,"visibility":16.09,"ozone":350.15},{"time":1370718000,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":14.14,"dewPoint":8.18,"windSpeed":14.47,"windBearing":45,"cloudCover":0.29,"humidity":0.69,"pressure":1020.16,"visibility":16.09,"ozone":349.49},{"time":1370721600,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":12.9,"dewPoint":7.94,"windSpeed":13.26,"windBearing":44,"cloudCover":0.27,"humidity":0.73,"pressure":1020.25,"visibility":16.09,"ozone":349.1},{"time":1370725200,"summary":"Partly Cloudy","icon":"partly-cloudy-night","precipIntensity":0,"temperature":11.76,"dewPoint":7.67,"windSpeed":12.17,"windBearing":44,"cloudCover":0.29,"humidity":0.78,"pressure":1020.3,"visibility":16.09,"ozone":348.94},{"time":1370728800,"summary":"Partly Cloudy","icon":"partly-cloudy-night","precipIntensity":0,"temperature":10.87,"dewPoint":7.38,"windSpeed":11.4,"windBearing":43,"cloudCover":0.37,"humidity":0.8,"pressure":1020.24,"visibility":16.09,"ozone":349.1},{"time":1370732400,"summary":"Partly Cloudy","icon":"partly-cloudy-night","precipIntensity":0,"temperature":10.14,"dewPoint":7.06,"windSpeed":10.77,"windBearing":43,"cloudCover":0.49,"humidity":0.82,"pressure":1020.1,"visibility":16.09,"ozone":349.5},{"time":1370736000,"summary":"Mostly Cloudy","icon":"partly-cloudy-night","precipIntensity":0,"temperature":9.57,"dewPoint":6.8,"windSpeed":10.34,"windBearing":42,"cloudCover":0.58,"humidity":0.83,"pressure":1019.9,"visibility":16.09,"ozone":349.89},{"time":1370739600,"summary":"Mostly Cloudy","icon":"partly-cloudy-night","precipIntensity":0,"temperature":9.14,"dewPoint":6.58,"windSpeed":10.16,"windBearing":42,"cloudCover":0.62,"humidity":0.84,"pressure":1019.62,"visibility":16.09,"ozone":350.17},{"time":1370743200,"summary":"Mostly Cloudy","icon":"partly-cloudy-night","precipIntensity":0,"temperature":8.85,"dewPoint":6.42,"windSpeed":10.17,"windBearing":41,"cloudCover":0.64,"humidity":0.84,"pressure":1019.29,"visibility":16.09,"ozone":350.44},{"time":1370746800,"summary":"Mostly Cloudy","icon":"partly-cloudy-night","precipIntensity":0,"temperature":8.75,"dewPoint":6.41,"windSpeed":10.21,"windBearing":41,"cloudCover":0.65,"humidity":0.85,"pressure":1018.99,"visibility":16.09,"ozone":350.73},{"time":1370750400,"summary":"Mostly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":8.86,"dewPoint":6.67,"windSpeed":10.24,"windBearing":41,"cloudCover":0.67,"humidity":0.85,"pressure":1018.78,"visibility":16.09,"ozone":351.1},{"time":1370754000,"summary":"Mostly Cloudy","icon":"partly-cloudy-day","precipIntensity":0.017,"precipProbability":0.04,"precipType":"rain","temperature":9.15,"dewPoint":7.09,"windSpeed":10.31,"windBearing":41,"cloudCover":0.67,"humidity":0.86,"pressure":1018.62,"visibility":16.09,"ozone":351.5},{"time":1370757600,"summary":"Mostly Cloudy","icon":"partly-cloudy-day","precipIntensity":0.02,"precipProbability":0.04,"precipType":"rain","temperature":9.6,"dewPoint":7.46,"windSpeed":10.39,"windBearing":41,"cloudCover":0.68,"humidity":0.85,"pressure":1018.48,"visibility":16.09,"ozone":351.78},{"time":1370761200,"summary":"Mostly Cloudy","icon":"partly-cloudy-day","precipIntensity":0.021,"precipProbability":0.04,"precipType":"rain","temperature":10.23,"dewPoint":7.7,"windSpeed":10.49,"windBearing":41,"cloudCover":0.7,"humidity":0.83,"pressure":1018.35,"visibility":16.09,"ozone":352.03},{"time":1370764800,"summary":"Mostly Cloudy","icon":"partly-cloudy-day","precipIntensity":0.021,"precipProbability":0.04,"precipType":"rain","temperature":11.06,"dewPoint":7.89,"windSpeed":10.62,"windBearing":40,"cloudCover":0.71,"humidity":0.79,"pressure":1018.23,"visibility":16.09,"ozone":352.16},{"time":1370768400,"summary":"Mostly Cloudy","icon":"partly-cloudy-day","precipIntensity":0.021,"precipProbability":0.04,"precipType":"rain","temperature":12.04,"dewPoint":8.05,"windSpeed":10.77,"windBearing":40,"cloudCover":0.72,"humidity":0.75,"pressure":1018.07,"visibility":16.09,"ozone":351.72},{"time":1370772000,"summary":"Mostly Cloudy","icon":"partly-cloudy-day","precipIntensity":0.02,"precipProbability":0.03,"precipType":"rain","temperature":13.27,"dewPoint":8.17,"windSpeed":10.95,"windBearing":41,"cloudCover":0.72,"humidity":0.71,"pressure":1017.84,"visibility":16.09,"ozone":350.25},{"time":1370775600,"summary":"Mostly Cloudy","icon":"partly-cloudy-day","precipIntensity":0.018,"precipProbability":0.03,"precipType":"rain","temperature":14.58,"dewPoint":8.25,"windSpeed":11.12,"windBearing":42,"cloudCover":0.7,"humidity":0.65,"pressure":1017.57,"visibility":16.09,"ozone":348.22},{"time":1370779200,"summary":"Mostly Cloudy","icon":"partly-cloudy-day","precipIntensity":0.016,"precipProbability":0.03,"precipType":"rain","temperature":15.6,"dewPoint":8.25,"windSpeed":11.23,"windBearing":42,"cloudCover":0.66,"humidity":0.61,"pressure":1017.31,"visibility":16.09,"ozone":346.6},{"time":1370782800,"summary":"Mostly Cloudy","icon":"partly-cloudy-day","precipIntensity":0.013,"precipProbability":0.02,"precipType":"rain","temperature":16.15,"dewPoint":8.15,"windSpeed":11.28,"windBearing":43,"cloudCover":0.54,"humidity":0.59,"pressure":1017.08,"visibility":16.09,"ozone":345.75},{"time":1370786400,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":16.43,"dewPoint":7.98,"windSpeed":11.28,"windBearing":43,"cloudCover":0.39,"humidity":0.57,"pressure":1016.84,"visibility":16.09,"ozone":345.32},{"time":1370790000,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":16.53,"dewPoint":7.84,"windSpeed":11.23,"windBearing":44,"cloudCover":0.27,"humidity":0.56,"pressure":1016.62,"visibility":16.09,"ozone":345.14},{"time":1370793600,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"temperature":16.56,"dewPoint":7.84,"windSpeed":11.16,"windBearing":44,"cloudCover":0.24,"humidity":0.56,"pressure":1016.39,"visibility":16.09,"ozone":345.31}]},"daily":{"summary":"Sprinkling off-and-on throughout the week; temperatures falling to 17° on Sunday.","icon":"rain","data":[{"time":1370559600,"summary":"Light rain in the evening.","icon":"rain","sunriseTime":1370576729,"sunsetTime":1370636221,"precipIntensity":0.058,"precipIntensityMax":0.032,"precipIntensityMaxTime":1370624400,"precipType":"rain","temperatureMin":7.6,"temperatureMinTime":1370577600,"temperatureMax":19.89,"temperatureMaxTime":1370610000,"dewPoint":8.12,"windSpeed":10.49,"windBearing":44,"cloudCover":0.27,"humidity":0.71,"pressure":1024.08,"visibility":9.94,"ozone":356.65},{"time":1370646000,"summary":"Partly cloudy starting in the afternoon.","icon":"partly-cloudy-day","sunriseTime":1370663100,"sunsetTime":1370722672,"precipIntensity":0,"precipIntensityMax":0,"temperatureMin":8.43,"temperatureMinTime":1370660400,"temperatureMax":17.15,"temperatureMaxTime":1370700000,"dewPoint":7.65,"windSpeed":12.71,"windBearing":44,"cloudCover":0.18,"humidity":0.73,"pressure":1022.36,"visibility":16.09,"ozone":354.71},{"time":1370732400,"summary":"Mostly cloudy throughout the day.","icon":"partly-cloudy-day","sunriseTime":1370749474,"sunsetTime":1370809120,"precipIntensity":0.013,"precipIntensityMax":0,"precipType":"rain","temperatureMin":8.75,"temperatureMinTime":1370746800,"temperatureMax":16.56,"temperatureMaxTime":1370793600,"dewPoint":7.41,"windSpeed":10.46,"windBearing":43,"cloudCover":0.51,"humidity":0.72,"pressure":1017.81,"visibility":16.09,"ozone":348.27},{"time":1370818800,"summary":"Mostly cloudy throughout the day.","icon":"partly-cloudy-day","sunriseTime":1370835851,"sunsetTime":1370895566,"precipIntensity":0,"precipIntensityMax":0,"temperatureMin":8.06,"temperatureMinTime":1370833200,"temperatureMax":16.98,"temperatureMaxTime":1370880000,"dewPoint":7.67,"windSpeed":5.44,"windBearing":77,"cloudCover":0.53,"humidity":0.73,"pressure":1016.15,"visibility":16.09,"ozone":340.28},{"time":1370905200,"summary":"Mostly cloudy throughout the day.","icon":"partly-cloudy-day","sunriseTime":1370922231,"sunsetTime":1370982008,"precipIntensity":0.024,"precipIntensityMax":0,"precipType":"rain","temperatureMin":8.81,"temperatureMinTime":1370919600,"temperatureMax":18.46,"temperatureMaxTime":1370955600,"dewPoint":9.87,"windSpeed":7.29,"windBearing":156,"cloudCover":0.48,"humidity":0.76,"pressure":1014.51,"visibility":16.09,"ozone":331.85},{"time":1370991600,"summary":"Sprinkling in the morning.","icon":"rain","sunriseTime":1371008614,"sunsetTime":1371068449,"precipIntensity":0.069,"precipIntensityMax":0.007,"precipIntensityMaxTime":1371016800,"precipType":"rain","temperatureMin":11.93,"temperatureMinTime":1371006000,"temperatureMax":19.11,"temperatureMaxTime":1371049200,"dewPoint":11.52,"windSpeed":9.92,"windBearing":189,"cloudCover":0.69,"humidity":0.79,"pressure":1011.36,"ozone":320.64},{"time":1371078000,"summary":"Sprinkling overnight.","icon":"rain","sunriseTime":1371095000,"sunsetTime":1371154886,"precipIntensity":0.056,"precipIntensityMax":0.009,"precipIntensityMaxTime":1371160800,"precipType":"rain","temperatureMin":9.77,"temperatureMinTime":1371092400,"temperatureMax":19.02,"temperatureMaxTime":1371128400,"dewPoint":10.28,"windSpeed":7.9,"windBearing":203,"cloudCover":0.29,"humidity":0.74,"pressure":1013.81,"ozone":321.47},{"time":1371164400,"summary":"Sprinkling until afternoon.","icon":"rain","sunriseTime":1371181389,"sunsetTime":1371241321,"precipIntensity":0.241,"precipIntensityMax":0.017,"precipIntensityMaxTime":1371168000,"precipType":"rain","temperatureMin":10.51,"temperatureMinTime":1371178800,"temperatureMax":19.63,"temperatureMaxTime":1371222000,"dewPoint":12.71,"windSpeed":8.96,"windBearing":182,"cloudCover":0.74,"humidity":0.82,"pressure":1010.42,"ozone":327.78}]},"flags":{"sources":["metwarn","darksky","isd","fnmoc","naefs","cmc","gfs","metar","datapoint"],"darksky-stations":["uk_london"],"isd-stations":["036720-99999","036731-99999","036733-99999","036740-99999","037815-99999"],"metar-stations":["EGGW","EGLC","EGSS"],"datapoint-stations":["uk-310139","uk-351781","uk-353148"],"units":"uk"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.