iweather

0.1.6 • Public • Published

Installation

$ sudo npm install -g iweather

Usage

// get your geoip and get weather forecast from yahoo iweather

// from iweather -s baidu

iweather --server baidu

// assign location iweather -l fuzhou iweather --location fuzhou

// more iweather -h

Note

yahoo get woeid does not support Chinese characters. so ... baidu api does not support area pinyin. so ...

WTF~!

BTW future will be add a resource like:

{
    fuzhou: '福州'
}

baidu api only support China's weather forecast.WTF~~

Future

  • add cache(woeid, geoip)

Readme

Keywords

Package Sidebar

Install

npm i iweather

Weekly Downloads

1

Version

0.1.6

License

MIT

Last publish

Collaborators

  • lcat