Updated Notify_pushjet (markdown)

Chris Caron 2019-02-06 22:54:18 -05:00
parent a5a80bc62c
commit b81a4082b3

@ -1,34 +1,29 @@
## Pushjet Notifications
* **Source**: https://pushjet.io/
* **Source**: ~https://pushjet.io/~
* **Icon Support**: No
* **Message Format**: Text
* **Message Limit**: 32768 Characters per message
- The Pushjet online service appears to have gone dead. They did however leave behind all of our source code as open source [here on github](https://github.com/Pushjet). Thus the _apprise_ plugin _pjet://_ still works for the local hosting of a Pushjet server.
### Syntax
If you want to use your own custom Pushjecct server, then the following identify the syntax you may use:
If you want to use your own custom Pushjet server, then the following identify the syntax you may use:
* **pjet**://**{secret_key}**@**{host}**
* **pjet**://**{secret_key}**@**{host}**:**{port}**
* **pjets**://**{secret_key}**@**{host}**
* **pjets**://**{secret_key}**@**{host}**:**{port}**
However, if you're using the Pushjet official server (and not your own, then you only need to provide the secret key:
* **pjet**:://**{secret_key}**
### Parameter Breakdown
| Variable | Required | Description
| ----------- | -------- | -----------
| secret_key | Yes | The Secret Key associated with your Pushjet account.
| host | No | The Pushjet server is only required if you're hosting your own notification server yourself (and not using https://pushjet.io/)
| port | No | The Pushjet port optional and only required if you're hosting your own notification server. By default the port is **80** for **pjet://** and **443** for all **pjets://** references.
| host | Yes | The Pushjet server you're hosting
| port | No | The Pushjet port optional and only required if you're hosting your own notification server on a different port then the standard ones. By default the port is **80** for **pjet://** and **443** for all **pjets://** references.
#### Example
Send a Pushjet notification:
```bash
# Assuming our {secret_key} is abcdefghijklmnopqrstuvwxyzabc
# Assuming our {hostname} is pushjet.server.local
notify pjet://abcdefghijklmnopqrstuvwxyzabc@pushjet.server.local
# Alternatively if you're just using the pushjet.io server you might
# provide the following:
apprise pjet://abcdefghijklmnopqrstuvwxyzabc
# Assuming our {hostname} is localhost
notify pjet://abcdefghijklmnopqrstuvwxyzabc@localhost
```