ntfy
Push Notifications via ntfy.sh
NtfyNotifications
#
Bases: BaseNotifications
Push Notifications via Ntfy
Source code in camply/notifications/ntfy.py
send_campsites(campsites, **kwargs)
#
Send a message with a campsite object
Parameters:
Name | Type | Description | Default |
---|---|---|---|
campsites |
List[AvailableCampsite]
|
|
required |
Source code in camply/notifications/ntfy.py
send_message(message, **kwargs)
#
Send a message via Ntfy - if environment variables are configured
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message |
str
|
|
required |
Returns:
Type | Description |
---|---|
Response
|
|