how do i use weather api on my website netbeans code example
Example 1: how do i use weather api on my website netbeans
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");
Example 2: how do i use weather api on my website netbeans
org.apache.httpcomponents
httpclient
4.5.12