-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from cyber-francis/initial_commit
fix: requirements.txt
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
# send_slack_notification | ||
# Slack-Notification | ||
A simple way to send slack notification | ||
|
||
## Install | ||
``` | ||
pip install -i https://test.pypi.org/simple/ slack-notification | ||
``` | ||
|
||
## Usage | ||
```python | ||
from slack_notification.slack_notification import SlackNotification | ||
|
||
CHANNEL = "YOUR_CHANNEL" #example T06C3XXXXXX/B06CURXXXX/NU9qdi16r5IdXXXXXXX" | ||
slack = SlackNotification(CHANNEL) | ||
message = "YOUR_MESSAGE" | ||
response = slack.notify(message) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters