控制台天气:简单的 Node.js 控制台应用程序

这是一个 Node.js 控制台应用程序,调用两个 API 来确定您的位置温度。使用前准备:

1. 注册并获取 Weatherstack API 密钥

2. 注册并获取 Mapbox API 密钥

使用步骤:

1. 在 utils/forecast.js 中,将您的 API 密钥填入 access_key 中

2. 在 utils/geocode.js 中,将您的 API 密钥填入 access_key 中

3. 终端定位至 app.js 目录

4. 运行 node app.js

5. 输入具体位置(含国家/地区)以获取该位置温度

js控制台应用程序,它调用两个api来确定您所在位置的温度
console-weather:简单的node.js控制台应用程序,它调用两个API来确定您所在位置的温度 预估大小:604个文件
file
README.md.bak 7KB
file
sshpk-verify.1 2KB
file
sshpk-sign.1 2KB
file
sshpk-conv.1 4KB
file
sshpk-conv.cmd 263B
file
sshpk-verify.cmd 265B
file
uuid.cmd 256B
file
sshpk-sign.cmd 263B
file
AUTHORS 169B
file
AUTHORS 217B
file
scripts.coffee 1KB
file
performance-now.coffee 1KB
file
initial-value.coffee 313B
file
delayed-require.coffee 362B
file
difference.coffee 175B
file
delayed-call.coffee 358B
file
performance-now.coffee 553B
file
address 673B
file
calendar 945B
file
card 2KB
zip 文件大小:1.23MB