Skip to main content

泡泡aiM机器人库

Project description

PoPoBot

A bot library for PoPoIM.

"PoPoIM" is a series of PHP chat source codes, including H5 mobile version, web version, and uniapp version.

Features

PoPoBot provides a series of APIs aimed at making it easy to create chatbots for PopoIM.

The supported features include:

  • Receiving messages
  • Sending messages to friends and groups
  • Group chat management (kicking members, muting, dissolving, inviting)
  • Accepting/rejecting friend requests
  • Viewing account messages
  • Logging out

And messages use Markdown, so you can send different type of content easily.

Usage

PoPoIM manages cookies in the form of 'session IDs', so you need to obtain the cookie by logging in to PoPoIM on a device, capturing the cookie through packet capture, and keeping logged in without logging out.

from popobot import *

cookie = '...' #Your cookie.
bot=Account(cookie) #Login to PoPoIM

Then you can manage your bot.

Example:

bot.SendGroupMessage(groupId,'Hello world!')

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

popobot-0.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

popobot-0.2-py2.py3-none-any.whl (3.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file popobot-0.2.tar.gz.

File metadata

  • Download URL: popobot-0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.1

File hashes

Hashes for popobot-0.2.tar.gz
Algorithm Hash digest
SHA256 75890b3bb02bb914b2aeee71f2c16ed8b516a7905702abd5ca2189768173c36b
MD5 635982601cb598b3ba40c0be5ec9a435
BLAKE2b-256 f37c713d5a3145971a402180b1ab5bca041e110710f9be2797496fabceee11b9

See more details on using hashes here.

File details

Details for the file popobot-0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: popobot-0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.1

File hashes

Hashes for popobot-0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6bea78a094dc5433bdfc2f02ee5fbf989a449b1c29129fbde5a86d37cfbe3259
MD5 87192b75f432febb9d9c07bc7db41041
BLAKE2b-256 48305f917d3a80f6a0a8a98bfd8e419b7b38c0315494ffae138f6fc384bf9586

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