其他分享
首页 > 其他分享> > 命令行查看天气

命令行查看天气

作者:互联网

curl wttr.in/shanghai

curl wttr.in/shanghai?T

浏览器输入:wttr.in/shanghai

 

使用 3 个字母的机场代码来获取某个机场的天气信息:

$ curl wttr.in/muc      # Weather for IATA: muc, Munich International Airport, Germany
$ curl wttr.in/ham      # Weather for IATA: ham, Hamburg Airport, Germany

标签:wttr,ham,查看,shanghai,天气,Germany,命令行,curl,muc
来源: https://www.cnblogs.com/gnz48/p/16370227.html