initial commit
This commit is contained in:
6
ntfy_service.py
Normal file
6
ntfy_service.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import requests
|
||||
|
||||
|
||||
def send_notification(message: str):
|
||||
response = requests.post('https://ntfy.ccalifice.com/ghostfolio', data=message, headers={"Authorization": "Bearer tk_dl5jaui6j3pc2dx9rx8qj9sdwh23k"})
|
||||
return response.status_code
|
||||
Reference in New Issue
Block a user