8月18日(周六)成都源创会火热报名中,四位一线行业大牛与你面对面,探讨区块链技术热潮下的冷思考。
Watch Star Fork

kakotor / weatherJava

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
读取weather.com.cn的天气预报信息
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md 797 Bytes

#weather 读www.weather.com.cn数据的工具包

##使用简介

###读取天气信息

try {
    WeatherLastHour lastHour = WeatherReader.getLastHour("1010200");
    WeatherSixDay sixDay = WeatherReader.getSixDay("1010200");
    WeatherToday today = WeatherReader.getToday("1010200");
    
} catch (IOException e) {
    e.printStackTrace();
}

###生成地区信息文件

LocationInfoBuilder builder = new LocationInfoBuilder();
builder.build();

Comments ( 0 )

You need to Sign in for post a comment