richard-better / pushbullet.py

A python client for http://pushbullet.com
MIT License
575 stars 110 forks source link

Pushbullet doesn't stop sending sms #75

Closed Murdocc007 closed 6 years ago

Murdocc007 commented 8 years ago

Hi I wrote a short script to test the sms feature.

But it has kept on sending the same sms for last 1 hour.

`from pushbullet import PushBullet pb=PushBullet('----') print pb.devices

device=pb.devices[0]

push = pb.push_sms(device, "---", "Wowza!")`

simonporter007 commented 8 years ago

I can't see why it would loop at all but I do notice you're using camel case in your import and class statements, which suggests you're on an older version of the code? The latest version should be:

from pushbullet import Pushbullet
pb=Pushbullet(API_KEY)