No matter the date, it returns the same weather data for that location when using the history method. Location param updates the data but again, not the for the date specified.
var wunderground = require("wunderground")('APIKEY')
var query = {
date:'20100130',
zip : '78748'
};
wunderground.history(query, function(err, weatherData) {
if(err) {
alert('Error!')
} else {
weatherData.history.observations.forEach(function(day){
console.log(day.conds)
})
console.log(weatherData.history.dailysummary)
}});
No matter the date, it returns the same weather data for that location when using the history method. Location param updates the data but again, not the for the date specified.