【文件属性】:
文件名称:nodejs-weather-app:Node Js Weather App是用于获取实时天气信息的简单应用程序
文件大小:1.55MB
文件格式:ZIP
更新时间:2021-05-14 10:20:22
nodejs javascript forecastio weather-forecast geocode
Node.js天气应用
Node Js Weather App是用于获取实时天气信息的简单应用程序。
安装和使用克隆仓库
$ cd天气应用
$ npm安装
在weather / weather.js文件中添加您的 SecretKey
要查看当前天气信息,请使用以下命令
$ node -a“ CITY_NAME”
例如:node -a Bangkok