This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import urllib.request | |
import smtplib | |
from email.mime.text import MIMEText | |
import schedule | |
import time | |
pwd = # your google app-specific password | |
api_key = # your meh.com api key | |
url = "https://api.meh.com/1/current.json?apikey=" + api_key |