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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file miraihttpapi-1.3.tar.gz.

File metadata

  • Download URL: miraihttpapi-1.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for miraihttpapi-1.3.tar.gz
Algorithm Hash digest
SHA256 efa2eb3a0dc9eb28777329ca61ac7f1a8a5dc0f42112624f1742d033feaf9b3e
MD5 a7843ea788064924f5dfbf59f377d5bc
BLAKE2b-256 18a7ce32fcb5400e67274bfb5f2c630c368e9b2c6d981ded44debc3c713821d7

See more details on using hashes here.

File details

Details for the file miraihttpapi-1.3-py3-none-any.whl.

File metadata

  • Download URL: miraihttpapi-1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for miraihttpapi-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 72fa4be0603e2005fb61d1c997a8d11463b6d02ed3aa9249e8c8d1cbd3ced99b
MD5 914c693cf8fff1134e17f7aec2153139
BLAKE2b-256 2d581198d5849634538f08ecffacc43854305e9912a8b6c5953951b425a3c8ee

See more details on using hashes here.

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