docs-v2/content/flux/v0.x/stdlib/pushbullet/endpoint.md

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.
flux_0_x_ref
name parent identifier
pushbullet.endpoint pushbullet pushbullet/endpoint
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 "".