pushbullet
#
- class platypush.backend.pushbullet.PushbulletBackend(token: str, device: str = 'Platypush', proxy_host: str | None = None, proxy_port: int | None = None, **kwargs)[source]#
Bases:
Backend
This backend will listen for events on a Pushbullet (https://pushbullet.com) channel and propagate them to the bus. This backend is quite useful if you want to synchronize events and actions with your mobile phone (through the Pushbullet app and/or through Tasker), synchronize clipboards, send pictures and files to other devices etc. You can also wrap Platypush messages as JSON into a push body to execute them.
Triggers:
platypush.message.event.pushbullet.PushbulletEvent
if a new push is received
Requires:
pushbullet.py (
pip install git+https://github.com/pushbullet.py/pushbullet.py
)
- __init__(token: str, device: str = 'Platypush', proxy_host: str | None = None, proxy_port: int | None = None, **kwargs)[source]#
- Parameters:
token – Your Pushbullet API token, see https://docs.pushbullet.com/#authentication
device – Name of the virtual device for Platypush (default: Platypush)
proxy_host – HTTP proxy host (default: None)
proxy_port – HTTP proxy port (default: None)