0

I can't figure out how to receive SMS messages from my phone to my computer using pushbullet. Every time I try to receive pushes I only get the pushes from my laptop and not my phone. I want receive input from my phone then output my sending a text back via pushpullet.

Here is my code so far (not working):

from pushbullet import Pushbullet
api_key = "my api key here"
pb = Pushbullet(api_key)
device = pb.devices[1]
print(pb.devices)
while True:
    hello = pb.chats
    print("hello ", hello)
    hi = pb.get_pushes()
    print(hi)
    sms_message = # Can't figure this out
    author_ph = # Can't figure this out
Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

0 Answers0