A web app to alert the users daily through email/sms about air quality in/around their area :)
Create a credentials.py
file inside AirToday
folder with following content.
AIRPOLLUTION_APPID = APP ID given by api.airpollutionapi.com
AIRPOLLUTION_APPURL = 'http://api.airpollutionapi.com/1.0/aqi'
EMAIL_HOST = 'smtp.sendgrid.net'
EMAIL_HOST_USER = Sendgrid API Key ID
EMAIL_HOST_PASSWORD = Sendgrid API Key
EMAIL_PORT = 587
EMAIL_USE_TLS = True
ADMIN_EMAIL = Admin Email Address
TWILIO_ACC = Twilio Account Key
TWILIO_TOKEN = Twilio Account Token
TWILIO_PHONE = Twilio Phone Number
GOOGLEAPIKEY = Google Map API key
TEMP_IP = A temporary ip address to run on localhost