Send Daily Push Notifications to Your Phone Using Python | Build A New Year’s Resolution BOT (fast)
Language:
In this tutorial, I will show you, how you can send daily push notifications to your smartphone using Python. We will be using the “Pushbullet API” to send the notifications. Afterwards, we are going to setup PythonAnywhere to run the script daily
from pushbullet import Pushbullet API_KEY = "YOUR_API_KEY" filename = 'resolution.txt' with open(filename, mode='r') as f: text = f.read() pb = Pushbullet(API_KEY) push = pb.push_note("This is the title", text)