📅  最后修改于: 2022-03-11 14:52:21.114000             🧑  作者: Mango
URIBuilder builder = new URIBuilder
("https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/weatherdata/forecast");
builder.setParameter("aggregateHours", "24")
.setParameter("contentType", "csv")
.setParameter("unitGroup", "metric")
.setParameter("key", "YOUR_API_KEY")
.setParameter("locations", "London,UK");