【文件属性】:
文件名称:openweathermap:Go(golang)软件包,用于openweathermap.org的API
文件大小:40KB
文件格式:ZIP
更新时间:2021-04-29 05:32:47
go golang weather openweathermap-api Go
OpenWeatherMap Go API
Go(golang)软件包,用于openweathermap.org的API。
有关该库及其功能的更多详细信息,请在安装后参考您的本地godoc。
!
要使用OpenweatherMap API,您需要获取一个API密钥。 在注册。 拥有密钥后,创建一个名为OWM_API_KEY的环境变量。 开始编码!
欢迎捐款!
特征
当前天气状况
按城市
按城市,圣(州)
按城市,公司(国家)
按城市编号
由Zip,Co(国家/地区)
按经度和纬度
预报
获取给定天数的天气状况。
按城市
按城市,圣(州)
按城市,公司(国家)
按城市编号
按经度和纬度
访问条件代码和图标
可以访问OpenWeatherMap图标和条件代码。
雷暴
细雨
雨
雪
气氛
乌云
极端
额外的
多个测量系统中可用的数据
华氏度(OpenWeatherMap A
【文件预览】:
openweathermap-master
----.travis.yml(673B)
----conditions.go(7KB)
----openweathermap_test.go(2KB)
----pollution.go(2KB)
----uv.go(5KB)
----current.go(4KB)
----forecast_test.go(5KB)
----doc.go(765B)
----forecast5.go(1KB)
----conditions_test.go(1KB)
----history_test.go(4KB)
----forecast.go(4KB)
----LICENSE(10KB)
----forecast16.go(1002B)
----CONTRIBUTING.md(429B)
----station.go(2KB)
----history.go(4KB)
----.gitignore(365B)
----openweathermap.go(6KB)
----Makefile(329B)
----current_test.go(6KB)
----station_test.go(2KB)
----pollution_test.go(3KB)
----README.md(6KB)
----uv_test.go(3KB)
----go.mod(53B)
----_examples()
--------web()
--------cli()