Skip to main content

基于调用xwteam平台专属api运行的机器人插件,目前仅支持Zepp、微信、支付宝刷步,后续还会更新其他功能

Project description

这是一款基于调用xwteam平台专属api运行的机器人插件,目前仅支持Zepp、微信、支付宝刷步,后续还会更新其他功能

📖 介绍

⚡ 注意

在刷步之前,请确保你拥有ZeppLife的账号以及该账号已绑定微信、支付宝等第三方平台。(这点非常重要哦)

📢 常见问题

应用商店下载安装Zepp(原小米运动),进入后按提示注册账号并登录。其中,Zepplife账号必须是邮箱。

完成后在个人中心找到第三方接口绑定,选择微信或者支付宝按要求操作即可。绑定完成后即可卸载Zepp。

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-zepplife
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-zepplife
pdm
pdm add nonebot-plugin-zepplife
poetry
poetry add nonebot-plugin-zepplife
conda
conda install nonebot-plugin-zepplife

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_zepplife"]

⚙️ 配置

✨ 注意

0.1.8版本开始,该插件移除了对.env配置文件的填写要求。确保你的.env文件中含有超级用户字段即可。

如果你的版本为0.1.7及以下,请参考以下旧版配置要求。

⚙ 旧版配置要求

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 类型
ZEPPLIFE_USER none String
ZEPPLIFE_PASSWORD none String

以下是一个样例

ZEPPLIFE_USER="123456@example.com" #这里换成你的Zepp邮箱
ZEPPLIFE_PASSWORD="123456" #这里换成你的Zepp密码

🎉 使用

指令表

指令 权限 需要@ 范围 说明
stephelp/刷步帮助 -- 私聊、群聊 获得帮助
stepcheck/刷步检查 -- 私聊、群聊 检查配置
autostep/自动刷步 -- 私聊、群聊 自动刷步
manualstep/手动刷步 -- 私聊、群聊 手动刷步
savemydata/保存我的数据 -- -- 私聊 保存个人数据
modifymydata/修改我的数据 -- -- 私聊 修改个人数据
selectmydata/查看我的数据 -- -- 私聊 查看个人数据
deletemydata/删除我的数据 -- -- 私聊 删除个人数据

效果图

没有图片就代表我还没做效果图,哈哈

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_zepplife-0.1.8.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_zepplife-0.1.8-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_zepplife-0.1.8.tar.gz.

File metadata

  • Download URL: nonebot_plugin_zepplife-0.1.8.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.9

File hashes

Hashes for nonebot_plugin_zepplife-0.1.8.tar.gz
Algorithm Hash digest
SHA256 47e65ce75a8486e4b948943bfc8294b0e562379ca9f0110f42fa493d3dbb66aa
MD5 7a9f394eb3319f0bb5a8a00696b77306
BLAKE2b-256 da0e498175312604c287749db3a28da0ce9f5a5147b54e4d481d1493875ae54c

See more details on using hashes here.

File details

Details for the file nonebot_plugin_zepplife-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_zepplife-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 706479a0b77f2bb52b56cd9cd56e838d10ce38190d62892e540dc6601abfc472
MD5 db605e320e2b0b20d0cb4bda5d492672
BLAKE2b-256 57ba0eade6b4ce1dc55e4ddf43c5f2088c5bd0151de1e1508b797cc4b3550348

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page