1.6 KiB
1.6 KiB
title | description | menu | weight | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
pushbullet.endpoint() function | `pushbullet.endpoint()` creates the endpoint for the Pushbullet API and sends a notification of type note. |
|
101 |
pushbullet.endpoint()
creates the endpoint for the Pushbullet API and sends a notification of type note.
Function type signature
(
?token: A,
?url: string,
) => (mapFn: (r: B) => {C with title: E, text: D}) => (<-tables: stream[B]) => stream[{B with _sent: string}]
{{% caption %}}For more information, see Function type signatures.{{% /caption %}}
Parameters
url
PushBullet API endpoint URL. Default is "https://api.pushbullet.com/v2/pushes"
.
token
Pushbullet API token string. Default is ""
.