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.3.tar.gz (2.9 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.3-py2.py3-none-any.whl (3.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for popobot-0.3.tar.gz
Algorithm Hash digest
SHA256 6fe043f1eec71e85a323dca0384776a9c5e59ead7d01cc41ab4bfbad929cbec3
MD5 4ae07d0bc1664dc5adfaba479e4f18ac
BLAKE2b-256 a73457caa71962fa1520d47613f8a3dad0aefdb9d8868b98a360bcf84e795db0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: popobot-0.3-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.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0b5e1b927c3951b6a6e58fce298107d173087b55115e08c837f5c510d7d12079
MD5 796a78eecfc96e0d0e1ff26217b8c3a4
BLAKE2b-256 708af35678ffe80738409a589f1fe41fffa72e19e305fb216ebd826873500609

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