bigdatacloud
-
获取API key
openweathermap
-
获取API key
-
在搜索栏中输入城市名称后获取城市id
-
API:
http://api.openweathermap.org/data/2.5/forecast?id={city id}&appid={API key}
获取数据
curl -so [file] http://api.openweathermap.org/data/2.5/forecast?id={ide}&appid={API key} ```