1.0.0 • Published 7 years ago
weather-by-date v1.0.0
weather-by-date
Node.js API to retrieve average temperature for given date.
install
npm install weather-by-date
example
weatherByDate(11, 3, 1997, function(err, temperature){
if (err) {
console.log(err);
}
else {
console.log(temperature);
}
});
api
getTemperatureForDate(month, day, year, callback)
Type: function
month
number
day
number
year
number
callback
function
Returns average temperature for given date.
temperature
Type: number
Average temperature for given date.
license
MIT © Rishi Masand
1.0.0
7 years ago