Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/droberin/teamsilly
Teams Messaging through Inbound Webhook
https://github.com/droberin/teamsilly
Last synced: 3 days ago
JSON representation
Teams Messaging through Inbound Webhook
- Host: GitHub
- URL: https://github.com/droberin/teamsilly
- Owner: droberin
- License: mit
- Created: 2019-07-04T10:41:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-04T10:45:21.000Z (over 5 years ago)
- Last Synced: 2024-12-30T11:33:27.946Z (9 days ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# TeamSilly
## Description
Library for Messaging a MS Teams' Chat using simple text or rich card text through a Inbound Webhook.## Usage Example
```python
from teamsnotifier import TeamsNotifier, TeamsCard
from datetime import datetimeteams = TeamsNotifier(
webhook_url="https://outlook.office.com/webhook/..."
)card = TeamsCard(summary='Test Card', subtitle='Subtitle test card', text='Test of text data')
card.add_fact('Destination:', 'The Moon')
card.add_fact('Traveler:', 'David Bowie')
card.add_fact('ETA:', str(datetime.now()))
print(teams.notify_advanced(card.get_card()))
```## Requirements
### Interpreter
Python >= 3.6
### Libraries
requests >= 2.0