Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 705 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 705 Bytes

pyPushBullet

Python library to interface with PushBullet

My friend showed me PushBullet, I liked it. I like Python, combine the two to achieve greatness.

This is currently very new, quickly written, and may or may not actually be functional. If it breaks feel free to file a bug report (bonus points for patches)

You need python3 and beautifulsoup4 (you can get it with pip)

How to use:

from pushbullet import PushBullet

p = PushBullet()
p.signIn("user@gmail.com", "secret")
devices = p.getDevices()
data = {'type' : 'note',
        'device_id' : devices[0]["id"],
        'title' : "Hello World!",
        'body' : "It's wonderful to be here!"}
p.pushNotification(data)