Skip to main content

SDK for qqpusher

Project description

QQPUSHER

本项目是QQPusherPython SDK QQPusher的使用方法请参考http://qqpusher.yanxianjun.com/

本项目的使用

pip install qqpusher

Demo

这里的id可以是qq号也可是qq群号

import qqpusher

if __name__ == '__main__':
    qqpush1 = qqpusher.qqpusher(token="", id="", auto_escape=False)
    qqpush1.send_private_msg("你好呀")
    qqpush2 = qqpusher.qqpusher(token="", id="", auto_escape=False)
    qqpush2.send_group_msg("大家好")
    qqpush2.set_group_mute_all(True)
    qqpush2.set_group_mute(1018921994, 60)
    qqpush2.set_group_name("测试群名")
    qqpush2.set_group_memo("测试群公告")

函数列表

  • send_private_msg(self, message)
  • send_group_msg(self, message)
  • set_group_mute_all(self, isMute)
  • set_group_mute(self, member_id, mute_time)
  • set_group_name(self, group_name)
  • set_group_memo(self, memo)

鸣谢

yanxianjun开发维护的QQPusher推送服务

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

qqpusher-0.1.4.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

qqpusher-0.1.4-py3-none-any.whl (14.6 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