Files
ghostfolio-importer/ntfy_service.py
2025-11-09 12:26:46 -03:00

6 lines
240 B
Python

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