Skip to main content

A Python Library and a simple command line app for Pushbullet.

Project description

A Python library (and super simple command line app) for Pushbullet.

Documentation Status Build Status Coverage Status

Library Usage

>>> from pushbullet.pushbullet import Pushbullet
>>> pb = Pushbullet(api_key='replace-with-your-api-key')
>>>

List devices:

>>> pb.list_devices()
{u'shared_devices': [], u'devices': []}
>>>

Send a note:

>>> pb.bullet_note(device_idn, title="Hello, World!", body="This is an example note.")
{}
>>>

Command Line Usage

$ pushbullet --help
pushbullet -h
usage: pushbullet [-h] -a API_KEY [-d DEVICE]
                  [-t {note,link,address,list,file}] [-n TITLE] [-b BODY]
                  [-i ITEMS] [-f FILE] [-l]

optional arguments:
  -h, --help            show this help message and exit
  -a API_KEY, --apikey API_KEY
                        What is your Pushbullet API key?
  -d DEVICE, --device DEVICE
                        What device do you want to send the bullet to?
  -t {note,link,address,list,file}, --type {note,link,address,list,file}
                        What type of bullet do you want to send?
  -n TITLE, --name TITLE, --title TITLE
                        The title/name of the note, link, address, or list.
  -b BODY, --body BODY, --address BODY
                        The body, address of the note or additional data for a file.
  -u URL, --url URL
                        The referenced url of the link.
  -i ITEMS, --items ITEMS
                        The items in a list.
  -f FILE, --file FILE  The file to push.
  -l, --list-devices    Get a list of devices.

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

PushbulletPythonLibrary-2.1.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file PushbulletPythonLibrary-2.1.tar.gz.

File metadata

File hashes

Hashes for PushbulletPythonLibrary-2.1.tar.gz
Algorithm Hash digest
SHA256 843c7edc0fc4f0d9d40e1c565d7b53e870d75f6d978ef07c4b5b76eefa487601
MD5 ea5d4fdc50360c702b7d3f9a6bb6039a
BLAKE2b-256 7d37407fa96fb45a48fdbfddbf679dab3f73389182dc6fe12868a4b30bf32def

See more details on using hashes here.

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