Skip to main content

A universal multiplatform message bot

Project description

unibot

A universal bots package for python

  • A universal message bot library

Installation

  • (via pip) pip install -U omniunibot
  • (via source) clone this repo && python setup.py install or python setup.py develop

How to use

# import unibot
from unibot import FeishuBot, DingTalkBot, WXWorkBot

# initialize unibot
bot = FeishuBot(webhook_id, secret)
bot = DingTalkBot(token, secret)
bot = WXWorkBot(token)

# send message
bot.sendQuickMessage('Test Passed')

You could check the code example in ./example

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

omniunibot-0.0.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

omniunibot-0.0.1-py3-none-any.whl (6.2 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