A Python library (and super simple command line app) for Pushbullet.
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.
Release files for PushbulletPythonLibrary 2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PushbulletPythonLibrary-2.3.tar.gz | 5.7 kB | Details |
Release files / PushbulletPythonLibrary-2.3.tar.gz
| Download URL | PushbulletPythonLibrary-2.3.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b124a1bd2a987cd7d11c5a63789afc508b35f928d68b51345199b7f6797c18e
|
|
BLAKE2b-256 checksum How to use checksums |
1ff822e9060ee7464689f5189c557ac4778f0f6f050e325819f898e7f3fa48dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |