Skip to main content

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

This version

1.3

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)

Uploaded Source

Built Distribution

miraihttpapi-1.3-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

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