2021-11-20 08:23:15 +08:00
|
|
|
|
<p align="center">
|
|
|
|
|
|
<a href="https://github.com/MarkusJoe/QWeather">
|
|
|
|
|
|
<img src="https://img.shields.io/badge/Python-V3.10-blue.svg" alt="PythonVersion">
|
|
|
|
|
|
<img src="https://img.shields.io/badge/release-V2.7.0-green.svg" alt="QWeatherVersion">
|
|
|
|
|
|
<img src="https://img.shields.io/badge/LINCESE-Apache2.0-orange.svg" alt="LICENSE">
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</p>
|
2021-11-19 17:57:29 +08:00
|
|
|
|
|
2021-11-20 08:23:15 +08:00
|
|
|
|
<div align="center">
|
2021-11-11 21:21:28 +08:00
|
|
|
|
|
2021-11-20 08:23:15 +08:00
|
|
|
|
## *QWeather*
|
|
|
|
|
|
|
|
|
|
|
|
> <i><a href="https://www.qweather.com/">QWeather Official Website</a></i>\
|
2021-11-20 20:20:41 +08:00
|
|
|
|
> <i><a href="https://dev.qweather.com/">QWeather Development Platform</a></i>
|
2021-11-20 08:23:15 +08:00
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
## Python版本问题
|
|
|
|
|
|
- > 程序使用了Python3.10中的match-case语句
|
|
|
|
|
|
- > 请使用Python3.10版本运行
|
2021-11-20 20:20:41 +08:00
|
|
|
|
|
|
|
|
|
|
## 配置文件填写问题
|
|
|
|
|
|
- > `location`项和`only-view-settings`类不需要用户填写, 只需要打开`QWeather.py`进行自助填写
|
2021-11-20 08:23:15 +08:00
|
|
|
|
|
|
|
|
|
|
## 声明
|
|
|
|
|
|
- > 程序作者: **RTAkland (markushammered@gmail.com)**
|
|
|
|
|
|
- > 和风天气开发者平台:https://dev.qweather.com
|
|
|
|
|
|
- > 和风天气官网: https://qweather.com
|
|
|
|
|
|
|
|
|
|
|
|
## 如何使用
|
2021-11-19 17:57:29 +08:00
|
|
|
|
- 程序基于python3.10开发 务必使用python3.10版本运行
|
2021-11-11 21:21:28 +08:00
|
|
|
|
- 将config.yml正确填写完成
|
2021-11-18 22:18:54 +08:00
|
|
|
|
- 使用`pip/pip3 install -r requirements.txt` 安装需要的库
|
|
|
|
|
|
- 运行`QWeather.py`
|
2021-11-11 21:21:28 +08:00
|
|
|
|
|
2021-11-20 08:23:15 +08:00
|
|
|
|
## English README.md
|
|
|
|
|
|
## Statement
|
|
|
|
|
|
- > Developed by **RTAkland (markushammered@gmail.com)**
|
|
|
|
|
|
- > The weather API from QWeather: https://qweather.com
|
|
|
|
|
|
- > QWeather Developer Platform: https://dev.qweather.com
|
|
|
|
|
|
|
|
|
|
|
|
## How to use
|
2021-11-11 21:21:28 +08:00
|
|
|
|
- Run program using Python3
|
|
|
|
|
|
- Fill in the configuration file correctly
|
|
|
|
|
|
- Use `pip/pip3 -install -r requirements.txt` to install required libraries
|
2021-11-18 22:18:54 +08:00
|
|
|
|
- Run `QWeather.py`
|