-
-
Notifications
You must be signed in to change notification settings - Fork 422
Notify_wxpusher
Chris Caron edited this page Sep 1, 2024
·
1 revision
- Source: https://wxpusher.zjiecode.com/
- Icon Support: No
- Message Format: Text
- Message Limit: 32768 Characters per message
- Create an account with WxPusher.
- Acquire your App Token from your profile
Note: The above image was taken from WxPusher's Help Page
Targets can be either a User (UID_DATA
) or a Topic (<integer>
). i.e:
-
wxpusher://apptoken/123/343/UID_ABCD
would notify 2 topics (123
, and343
) plus one userUID_DATA
)
Valid syntax is as follows:
wxpusher://{app_token}@{userid}
wxpusher://{app_token}@{userid1}/{userid2}/{useridN}
wxpusher://{app_token}@{topic}
wxpusher://{app_token}@{topic1}/{topic2}/{topicN}
You can also mix/match topic's and user ids:
wxpusher://{app_token}@{topic1}/{userid1}/...
Variable | Required | Description |
---|---|---|
app_token | Yes | The App Token associated with your WxPusher account. It always starts with AT_
|
userid | *No | You must specify at least 1 (one) userid OR 1 (one) topic . A userid has a prefix of UID_
|
topic | *No | You must specify at least 1 (one) userid OR 1 (one) topic . A topic is an integer value |
Send a WxPusher notification using a topic a topic:
# Assuming our {app_key} is AT_12345
# Assuming our {topic} is 987
apprise -vv -t "Test Message Title" -b "Test Message Body" -n failure \
wxpusher://AT_12345/987
Here is an example of notifying a user:
# Assuming our {app_key} is AT_12345
# Assuming our {user} is UID_123
apprise -vv -t "Test Message Title" -b "Test Message Body" -n failure \
wxpusher://AT_12345/UID_123
We can notify a variety of users/topics by just specifying htem on the path:
# Assuming our {app_key} is AT_12345
# Assuming our {user} is UID_123 and UID_456
# Assuming our {topic} is 5555 and 4444
apprise -vv -t "Test Message Title" -b "Test Message Body" -n failure \
wxpusher://AT_12345/UID_123/5555/4444/UID_456