heweather

1.0.2 • Public • Published

heweather

how to use it

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

Readme

Keywords

Package Sidebar

Install

npm i heweather

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • lyuke