Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 datetime

teams = 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