<div align="center">
<img width = "100px" style="margin-right: 40px" src="https://www.freeimg.cn/i/2024/06/02/665c4cfd079d1.png">
<a width= "100px" href="https://v2.nonebot.dev/store"><img src="https://user-images.githubusercontent.com/44545625/209862575-acdc9feb-3c76-471d-ad89-cc78927e5875.png" width="100" alt="NoneBotPluginLogo"></a>
</p>
# nonebot-plugin-xjie-weather
_✨一个 NoneBot 天气插件✨_
<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">
<img src="https://img.shields.io/pypi/v/nonebot-plugin-xjie-weather?logo=python&logoColor=edb641" alt="pypi">
<img alt="Static Badge" src="https://img.shields.io/badge/awajie-a?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MzAuMzYgNDA0Ljc3Ij48ZGVmcz48c3R5bGU%2BLmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye3N0cm9rZTojMDAwO3N0cm9rZS1taXRlcmxpbWl0OjEwO30uY2xzLTN7ZmlsbDojZGI1NjViO308L3N0eWxlPjwvZGVmcz48ZyBpZD0i5Zu%2B5bGCXzMiIGRhdGEtbmFtZT0i5Zu%2B5bGCIDMiPjxwYXRoIGQ9Ik0yOC4zNS4yNkgxOTMuNjhhMTIsMTIsMCwwLDEsMTIsMTJWNDQuOTVhMTIsMTIsMCwwLDEtMTIsMTJIMTJhMTIsMTIsMCwwLDEtMTItMTJWMjguNkEyOC4zNSwyOC4zNSwwLDAsMSwyOC4zNS4yNloiLz48cGF0aCBkPSJNMzg1LjQxLDBoMTYuMzVhMjguMzUsMjguMzUsMCwwLDEsMjguMzUsMjguMzVWMTE0YTEyLDEyLDAsMCwxLTEyLDEySDM4NS40MWExMiwxMiwwLDAsMS0xMi0xMlYxMkExMiwxMiwwLDAsMSwzODUuNDEsMFoiLz48cGF0aCBkPSJNMzI4LjM2LDM0Ni43NWg5MGExMiwxMiwwLDAsMSwx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SgtNzEuNjQgLTcyLjI1KSIvPjwvZz48L3N2Zz4%3D&labelColor=fbf2e3&color=%23161823">
[图片无法加载可访问](https://awajie.top/xjie-weather)
</div>
# 公告
- 24-8-16 更新部分逻辑
- 添加[韩小韩WebAPI接口](https://api.vvhan.com/article/tianqi.html)的实况天气api
- 24-7-10开始对插件设置部分进行重构
# 安装
- 使用 nb-cli
```
nb plugin install nonebot-plugin-xjie-weather
```
- 使用 pip
```
pip install nonebot-plugin-xjie-weather
```
# 支持
目前支持
| API | 是否支持 | 调用天气预报 | 城市编码获取|
| :--------------: | :--------: | :-------: | :-------:|
| 高德天气 | 支持✅ | 300000次| 5000次/天
| 和风天气 | 支持✅ | 1000次/天 | 和前面次数共用
| Visual Crossing | 未完成❌ |
| 心知天气 | 未完成❌ |
| 韩小韩WebAPI接口(天气)| 支持✅ | 免费 | 无需 |
# BUG反馈
请提```issues```或邮箱```1095530449@qq.com```
# 配置
### 一
- 使用```setup```命令交互式设置key
```
AMAP_KEY 高德
QWEATHER_KEY 和风天气
VVHAN_KEY 韩小韩WebAPI接口(天气)
```
如果有多个key想使用哪个或者在一个平台的调用次数用完后可以进行切换
```
default_api 优先使用的平台
手动填入的话平台名为上面的key名
```
![st](./static/pz-bot-key.png)
### 二
- 在.env文件中配置
```
高德密钥
AMAP_KEY = ""
和风天气密钥
QWEATHER_KEY = ""
和风天气订阅配置免费为0(默认)付费为1
QWEATHER_APITYPE = 0
```
在.env文件配置的信息覆盖权限小于交互式设置的key,也就是说当您在使用```setup```设置过密钥后,会使用您在```setup```设置的密钥而不使用您.env中配置的密钥。
# 平台key获取
[📦 高德](/amap.md)
<!-- [📦 和风天气](/heweather.md) -->
# 插件返回的天气预报图片效果
## 高德
高德地图返回的天气数据种类不多但对于只看个天气预报而已的完全够
毕竟高德调用的次数挺多的
![高德](./static/gd-4.png)
## 和风天气
好看
![和风](./static/hf-1.png)
## 韩小韩WebAPI接口(天气)
由于这是一个免费的api,作者无法保证其稳定性。
其api仅支持到市的天气,请勿使用市级以下的城市调用。如我在泉州市xx区,请使用泉州或泉州市进行调用。
该api的支持还在优化,最好是测试一下awa。
![韩小韩WebAPI接口(天气)](./static/VVhanweather.jpg)
Raw data
{
"_id": null,
"home_page": "https://github.com/ajdgg/nonebot-plugin-xjie-weather",
"name": "nonebot-plugin-xjie-weather",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "nonebot, nonebot2",
"author": "AwAjie",
"author_email": "139576615+ajdgg@users.noreply.github.com",
"download_url": "https://files.pythonhosted.org/packages/a1/e7/3abc707882380e661e03ae9304eea9d464e214038710fb950d84f0515bbc/nonebot_plugin_xjie_weather-1.2.4.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n\n<img width = \"100px\" style=\"margin-right: 40px\" src=\"https://www.freeimg.cn/i/2024/06/02/665c4cfd079d1.png\">\n<a width= \"100px\" href=\"https://v2.nonebot.dev/store\"><img src=\"https://user-images.githubusercontent.com/44545625/209862575-acdc9feb-3c76-471d-ad89-cc78927e5875.png\" width=\"100\" alt=\"NoneBotPluginLogo\"></a>\n</p>\n\n# nonebot-plugin-xjie-weather\n\n_\u2728\u4e00\u4e2a NoneBot \u5929\u6c14\u63d2\u4ef6\u2728_\n\n<img src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"python\">\n<img src=\"https://img.shields.io/pypi/v/nonebot-plugin-xjie-weather?logo=python&logoColor=edb641\" alt=\"pypi\">\n<img alt=\"Static Badge\" src=\"https://img.shields.io/badge/awajie-a?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MzAuMzYgNDA0Ljc3Ij48ZGVmcz48c3R5bGU%2BLmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye3N0cm9rZTojMDAwO3N0cm9rZS1taXRlcmxpbWl0OjEwO30uY2xzLTN7Zmlsb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iIHg9IjIzNi4zNiIgeT0iMzA1LjM4IiB3aWR0aD0iNC45IiBoZWlnaHQ9IjIxLjc5Ii8%2BPHJlY3QgY2xhc3M9ImNscy0xIiB4PSIyMzUuNzEiIHk9IjMxMy45NiIgd2lkdGg9IjAuNjUiIGhlaWdodD0iMy43Ii8%2BPHBhdGggY2xhc3M9ImNscy0zIiBkPSJNMzE4LjEsMjQwLjg5SDI5OC44OHY2LjhsLjU3LjA3aDBhOC44OSw4Ljg5LDAsMCwxLDguNTYsOC44OWMwLC4xNCwwLC4yOCwwLC40MnYyLjMzSDMxOC4xWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTcxLjY0IC03Mi4yNSkiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0zMDgsMjU2LjIxaDBjMCwuMDcsMCwuMTMsMCwuMTlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzEuNjQgLTcyLjI1KSIvPjwvZz48L3N2Zz4%3D&labelColor=fbf2e3&color=%23161823\">\n\n[\u56fe\u7247\u65e0\u6cd5\u52a0\u8f7d\u53ef\u8bbf\u95ee](https://awajie.top/xjie-weather)\n\n\n</div>\n\n# \u516c\u544a\n- 24-8-16 \u66f4\u65b0\u90e8\u5206\u903b\u8f91 \n - \u6dfb\u52a0[\u97e9\u5c0f\u97e9WebAPI\u63a5\u53e3](https://api.vvhan.com/article/tianqi.html)\u7684\u5b9e\u51b5\u5929\u6c14api\n\n- 24-7-10\u5f00\u59cb\u5bf9\u63d2\u4ef6\u8bbe\u7f6e\u90e8\u5206\u8fdb\u884c\u91cd\u6784\n\n# \u5b89\u88c5\n\n- \u4f7f\u7528 nb-cli\n\n```\nnb plugin install nonebot-plugin-xjie-weather\n```\n\n- \u4f7f\u7528 pip\n\n```\npip install nonebot-plugin-xjie-weather\n```\n\n# \u652f\u6301\n\u76ee\u524d\u652f\u6301\n\n| API | \u662f\u5426\u652f\u6301 | \u8c03\u7528\u5929\u6c14\u9884\u62a5 | \u57ce\u5e02\u7f16\u7801\u83b7\u53d6|\n| :--------------: | :--------: | :-------: | :-------:|\n| \u9ad8\u5fb7\u5929\u6c14 | \u652f\u6301\u2705 | 300000\u6b21| 5000\u6b21/\u5929\n| \u548c\u98ce\u5929\u6c14 | \u652f\u6301\u2705 | 1000\u6b21/\u5929 | \u548c\u524d\u9762\u6b21\u6570\u5171\u7528\n| Visual Crossing | \u672a\u5b8c\u6210\u274c |\n| \u5fc3\u77e5\u5929\u6c14 | \u672a\u5b8c\u6210\u274c |\n| \u97e9\u5c0f\u97e9WebAPI\u63a5\u53e3\uff08\u5929\u6c14\uff09| \u652f\u6301\u2705 | \u514d\u8d39 | \u65e0\u9700 | \n\n# BUG\u53cd\u9988\n\u8bf7\u63d0```issues```\u6216\u90ae\u7bb1```1095530449@qq.com```\n\n# \u914d\u7f6e\n### \u4e00\n- \u4f7f\u7528```setup```\u547d\u4ee4\u4ea4\u4e92\u5f0f\u8bbe\u7f6ekey\n\n```\nAMAP_KEY \u9ad8\u5fb7\nQWEATHER_KEY \u548c\u98ce\u5929\u6c14\nVVHAN_KEY \u97e9\u5c0f\u97e9WebAPI\u63a5\u53e3\uff08\u5929\u6c14\uff09\n```\n\u5982\u679c\u6709\u591a\u4e2akey\u60f3\u4f7f\u7528\u54ea\u4e2a\u6216\u8005\u5728\u4e00\u4e2a\u5e73\u53f0\u7684\u8c03\u7528\u6b21\u6570\u7528\u5b8c\u540e\u53ef\u4ee5\u8fdb\u884c\u5207\u6362\n```\ndefault_api \u4f18\u5148\u4f7f\u7528\u7684\u5e73\u53f0\n\n\u624b\u52a8\u586b\u5165\u7684\u8bdd\u5e73\u53f0\u540d\u4e3a\u4e0a\u9762\u7684key\u540d\n```\n![st](./static/pz-bot-key.png)\n\n### \u4e8c\n- \u5728.env\u6587\u4ef6\u4e2d\u914d\u7f6e\n```\n\u9ad8\u5fb7\u5bc6\u94a5 \nAMAP_KEY = \"\"\n\n\u548c\u98ce\u5929\u6c14\u5bc6\u94a5\nQWEATHER_KEY = \"\"\n\n\u548c\u98ce\u5929\u6c14\u8ba2\u9605\u914d\u7f6e\u514d\u8d39\u4e3a0\uff08\u9ed8\u8ba4\uff09\u4ed8\u8d39\u4e3a1\nQWEATHER_APITYPE = 0\n```\n \u5728.env\u6587\u4ef6\u914d\u7f6e\u7684\u4fe1\u606f\u8986\u76d6\u6743\u9650\u5c0f\u4e8e\u4ea4\u4e92\u5f0f\u8bbe\u7f6e\u7684key\uff0c\u4e5f\u5c31\u662f\u8bf4\u5f53\u60a8\u5728\u4f7f\u7528```setup```\u8bbe\u7f6e\u8fc7\u5bc6\u94a5\u540e\uff0c\u4f1a\u4f7f\u7528\u60a8\u5728```setup```\u8bbe\u7f6e\u7684\u5bc6\u94a5\u800c\u4e0d\u4f7f\u7528\u60a8.env\u4e2d\u914d\u7f6e\u7684\u5bc6\u94a5\u3002\n# \u5e73\u53f0key\u83b7\u53d6\n [\ud83d\udce6 \u9ad8\u5fb7](/amap.md)\n\n <!-- [\ud83d\udce6 \u548c\u98ce\u5929\u6c14](/heweather.md) -->\n\n # \u63d2\u4ef6\u8fd4\u56de\u7684\u5929\u6c14\u9884\u62a5\u56fe\u7247\u6548\u679c\n\n ## \u9ad8\u5fb7\n\n\u9ad8\u5fb7\u5730\u56fe\u8fd4\u56de\u7684\u5929\u6c14\u6570\u636e\u79cd\u7c7b\u4e0d\u591a\u4f46\u5bf9\u4e8e\u53ea\u770b\u4e2a\u5929\u6c14\u9884\u62a5\u800c\u5df2\u7684\u5b8c\u5168\u591f\n\n\u6bd5\u7adf\u9ad8\u5fb7\u8c03\u7528\u7684\u6b21\u6570\u633a\u591a\u7684\n\n![\u9ad8\u5fb7](./static/gd-4.png)\n\n## \u548c\u98ce\u5929\u6c14\n\u597d\u770b\n\n![\u548c\u98ce](./static/hf-1.png)\n\n## \u97e9\u5c0f\u97e9WebAPI\u63a5\u53e3\uff08\u5929\u6c14\uff09\n\n\u7531\u4e8e\u8fd9\u662f\u4e00\u4e2a\u514d\u8d39\u7684api\uff0c\u4f5c\u8005\u65e0\u6cd5\u4fdd\u8bc1\u5176\u7a33\u5b9a\u6027\u3002\n\n\u5176api\u4ec5\u652f\u6301\u5230\u5e02\u7684\u5929\u6c14\uff0c\u8bf7\u52ff\u4f7f\u7528\u5e02\u7ea7\u4ee5\u4e0b\u7684\u57ce\u5e02\u8c03\u7528\u3002\u5982\u6211\u5728\u6cc9\u5dde\u5e02xx\u533a\uff0c\u8bf7\u4f7f\u7528\u6cc9\u5dde\u6216\u6cc9\u5dde\u5e02\u8fdb\u884c\u8c03\u7528\u3002\n\n\u8be5api\u7684\u652f\u6301\u8fd8\u5728\u4f18\u5316\uff0c\u6700\u597d\u662f\u6d4b\u8bd5\u4e00\u4e0bawa\u3002\n\n![\u97e9\u5c0f\u97e9WebAPI\u63a5\u53e3\uff08\u5929\u6c14\uff09](./static/VVhanweather.jpg)",
"bugtrack_url": null,
"license": "LICENSE",
"summary": "A little weather plugin",
"version": "1.2.4",
"project_urls": {
"Documentation": "https://github.com/ajdgg/nonebot-plugin-xjie-weather",
"Homepage": "https://github.com/ajdgg/nonebot-plugin-xjie-weather",
"Repository": "https://github.com/ajdgg/nonebot-plugin-xjie-weather"
},
"split_keywords": [
"nonebot",
" nonebot2"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "40d32929f3a99f34b1da7871b2dfb6375c4272d2d215d237afeb0b6612a34770",
"md5": "f1d6bdf0ca74359cae42d0f5c23425e2",
"sha256": "f3f37a3e6d19abe6e4d6b2205271fda5f78c7fc16d3cdb0f20f90f5ee5ca5af9"
},
"downloads": -1,
"filename": "nonebot_plugin_xjie_weather-1.2.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f1d6bdf0ca74359cae42d0f5c23425e2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 948072,
"upload_time": "2024-12-01T12:36:13",
"upload_time_iso_8601": "2024-12-01T12:36:13.301611Z",
"url": "https://files.pythonhosted.org/packages/40/d3/2929f3a99f34b1da7871b2dfb6375c4272d2d215d237afeb0b6612a34770/nonebot_plugin_xjie_weather-1.2.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a1e73abc707882380e661e03ae9304eea9d464e214038710fb950d84f0515bbc",
"md5": "a115b673693cec87814ab73d423d8a0f",
"sha256": "366f5829cceeb86d37927994790d8c71428809a4f721cfea94e7af808f9bc76e"
},
"downloads": -1,
"filename": "nonebot_plugin_xjie_weather-1.2.4.tar.gz",
"has_sig": false,
"md5_digest": "a115b673693cec87814ab73d423d8a0f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 939274,
"upload_time": "2024-12-01T12:36:26",
"upload_time_iso_8601": "2024-12-01T12:36:26.251931Z",
"url": "https://files.pythonhosted.org/packages/a1/e7/3abc707882380e661e03ae9304eea9d464e214038710fb950d84f0515bbc/nonebot_plugin_xjie_weather-1.2.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-01 12:36:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ajdgg",
"github_project": "nonebot-plugin-xjie-weather",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nonebot-plugin-xjie-weather"
}