mirror of
https://github.com/caronc/apprise.git
synced 2024-12-04 22:11:25 +01:00
Updated DemoPlugin_Basic (markdown)
parent
1a50b819ef
commit
f94451aef8
@ -1,7 +1,7 @@
|
||||
# A Basic Apprise Notification Example
|
||||
This example shows a basic template of how one might build a Notification Service that does a task as simple as writing to `stdout` (Standard Out)
|
||||
|
||||
It's very important to save the `apprise/plugins/NotifyServiceName.py` to be exactly the name of the `NotifyServiceName` class you define within it. In this example, the class is `NotifyDemo`. This implies that the filename to activate this (and make it usable in Apprise) must be called `apprise/plugins/NotifyDemo.py`.
|
||||
It's very important that the filename `apprise/plugins/service.py` does not align with the class name inside of it. In this example, the class is `NotifyDemo`. So perhaps a good filename might be `apprise/plugins/demo.py`.
|
||||
|
||||
## The Code
|
||||
```python
|
||||
|
Loading…
Reference in New Issue
Block a user