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.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distributions

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

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

Uploaded Python 3

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: popobot-0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7c27c86035fc182848f9b59d85fd7a06f915427da3dc8c7e875486b43416c324
MD5 c9d278bd79c54a58bb722d7a780c89ba
BLAKE2b-256 adb89bf62b727351021336998f84ed4efd6bd8347360a5aea11cc75d8504d0d3

See more details on using hashes here.

File details

Details for the file popobot-0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for popobot-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be10389d3c284bcf8f7830a60a7018b38d079a1e5a3d94bb6c3b483a57f078b4
MD5 7c73c0f797fc055ada74d3b02e7d9b9a
BLAKE2b-256 917070c6c3a0bdb1938a4f9b38b27f18d7080d8b8d4ecec2ca9b21535dcbf5dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: popobot-0.1-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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 03d4a01c7b0bf10a669b7b47eb8b41b86479335c114899a8ceb26fdfdc69cf20
MD5 61618bbcc526af0b4c094793db934151
BLAKE2b-256 b7c34b361838252feb0ab6ff88f8335736bd656cbec113a258d57cd7edb31cff

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