【文件属性】:
文件名称:OpenWeatherMap:基于OpenWeatherMap API处理天气库
文件大小:904KB
文件格式:ZIP
更新时间:2021-05-22 18:03:25
Java
OpenWeatherMap
基于处理天气库
基本用法
import de.jnsdbr.openweathermap.* ;
OpenWeatherMap owm;
final String API_KEY = " "
void setup() {
owm = new OpenWeatherMap ( this , API_KEY , " Berlin,de " );
println( " Temp: " + owm . getTemperature(), " Units: " + owm . getTemperatureUnit());
println( " Wind speed: " + owm . getWindSpeed(), " Wind speed description: " + owm . getWindSpeedDescription());
pri
【文件预览】:
OpenWeatherMap-master
----src()
--------de()
----lib()
--------core.jar(720KB)
----examples()
--------Basic()
----web()
--------index.html(5KB)
--------stylesheet.css(2KB)
----README.md(1KB)
----resources()
--------build.properties(6KB)
--------code()
--------build.xml(14KB)
--------library.properties(3KB)
--------install_instructions.txt(2KB)
--------stylesheet.css(3KB)