Use mirai-api-http(v2+) http polling to interconnect the interface
Project description
快速上手
from miraihttpapi import MiraiCore
from miraihttpapi import MessageChain
with MiraiCore(server_url, verifykey, qqid) as mirai:
mirai.sendFriendMessage(123456789,MessageChain().plain("Hello"))
配置文件创建和导入
使用miraihttpapi.Configer.create(path)
创建一个新的配置文件
使用miraihttpapi.Configer.load(path)
加载一个配置文件并返回一个未连接的miraihttpapi.MiraiCore(支持使用with进行管理)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
miraihttpapi-1.3.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for miraihttpapi-1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72fa4be0603e2005fb61d1c997a8d11463b6d02ed3aa9249e8c8d1cbd3ced99b |
|
MD5 | 914c693cf8fff1134e17f7aec2153139 |
|
BLAKE2b-256 | 2d581198d5849634538f08ecffacc43854305e9912a8b6c5953951b425a3c8ee |