Skip to content

ITKMUnigle/java--WeatherReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

学习java制作的天气预报的一个简易小程序,原本想加上未来几天的但是想想其实代码差不多就没做。

A simple small program for learning weather forecast made by java. I originally wanted to add the next few days, but after thinking about it, the code is almost not done.

##介绍(Introduction)

第一次写程序变量名称不是很好找,自行搜索Crtl+F

It is not easy to find variable names when writing a program for the first time, so search for Crtl+F by yourself

##注意(note)

Weather文件夹里面的 pom.xml和 Weather.iml是maven和IntelliJ IDEA 生成的文件 里面有我使用的jar包,剩下的就是主程序文件。

其中需要修改的是Weather中的appcode参数 建议在使用前在阿里云购买 (易源数据-全国天气预报查询)api 购买后获取自己的appcode填入对应位置 遇到乱码问题设置成GBK或者UTF-8

The pom.xml and Weather.iml in the Weather folder are files generated by maven and IntelliJ IDEA. There are jar packages that I use, and the rest are the main program files.

What needs to be modified is the appcode parameter in Weather It is recommended to purchase (Yiyuan Data-National Weather Forecast) api before use in Alibaba Cloud After purchase, get your own appcode and fill in the corresponding location Encountered garbled characters set to GBK or UTF-8

About

学习java 制作的天气预报的一个简易小程序, 原本想加上未来几天的但是想想其实代码差不多就没做。

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages