pyteams

Microsoft Teams - Python Library


License
GPL-3.0-only
Install
pip install pyteams==1.0.2

Documentation

pyteams

This is a python library and a handler script who allows you to send message to Microsoft Teams.

Python Library

This script also can be used as a python library and there is a setup.py that give you the chance to install in the python path.

~# git clone https://github.com/sergiotocalini/zabbix-alerts.git
~# cd zabbix-alerts/pyteams
~# pip install .
~# pyteams -h
Usage: pyteams [options]

Options:
  -h, --help            show this help message and exit
  -a ACTION, --action=ACTION
                        Action to perform (default=webhooks)
  -p PAYLOAD, --payload=PAYLOAD
                        Payload to send request to Microsoft Teams.
  -u URL, --url=URL     Microsoft Teams URL.
~#