Skip to main content

A python module for interacting with the v2 Pushbullet API.

Project description

python-pushbullet

A python module for interacting with the v2 Pushbullet API.

Setup

This tool supposes that your Pushbullet API key is located in an environment variable or a .env file. To create a .env file, type the following:

 echo PUSHBULLET_API_KEY=<your-api-key-here> > .env

Make sure that you don't commit this file to Git: it contains your private API key.

Usage:

 ./pushbullet_cli.py post \
>    --title "Hello World" \
>    --body "Lorem ipsum dolor sit amet, consectetur adipiscing elit." ./pushbullet_cli.py devices
Chrome               | chrome
Google Pixel 3a      | android
Firefox              | firefox

➜ ./pushbullet_cli.py post \
>    --title "Hello World" \
>    --body "Lorem ipsum dolor sit amet, consectetur adipiscing elit." \
>    --device "Google Pixel 3a"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-pushbullet-1.0.0.tar.gz (15.6 kB view hashes)

Uploaded Source

Built Distribution

python_pushbullet-1.0.0-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page