【文件属性】:
文件名称:forecast-io-wrapper:The Dark Sky Company,LLC提供的v2 Forecast API的Java包装器库
文件大小:43KB
文件格式:ZIP
更新时间:2021-05-24 20:51:52
Java
Forecast.io Java包装器
Dark Sky Company,LLC提供的v2 Forecast API的Java包装器库。
##关于
Forecast API可让您查询地球上的大多数位置,并返回:
现在的情况
每分钟的分钟预测长达1小时(如果有)
每小时到48小时的预测
逐日预测到7天
##用法
您可以通过Maven拉这个项目:
##样品
对当前温度的简单要求:
// specify your API key
final String apiKey = " replace-with-your-key " ;
final ForecastIO forecastIO = new ForecastIO (apiKey);
// coordinates for Dresden, Germany
final double latitude = 51.0504d ;
fin
【文件预览】:
forecast-io-wrapper-master
----src()
--------test()
--------main()
----.travis.yml(49B)
----LICENSE(1KB)
----README.md(2KB)
----pom.xml(7KB)
----.gitignore(163B)