I have a problem, I need help. I want to use PushBullet
in python but I got error.
Here my code:
from pushbullet import PushBullet
from pushbullet import device
apik="myapikey"
pb=PushBullet(apik)
de=pb.devices[0]
success, push = de.push_note("adsadasd","asdasdasd asd asd")
I get this error:
Traceback (most recent call last):
File "gggg.py", line 6, in <module>
de = pb.devices[0]
IndexError: list index out of range
How can I solve this problem?