npm install --save-dev heweather
const weather = require('heweather');
const p = weather.getWeatherByCityID('cityID');
p.then((res)=>{
// deal with the response;
},(err)=>{
// deal with the error;
});
const A=weather.getWeatherByAttractions('cityID');
p.then((res)=>{
},(err)=>{
});
cityIDs are as below CityID list; Attractions list