Created
December 5, 2021 20:32
-
-
Save FBosler/ccce4b325bbfc42280be9bee4ed5bc9b to your computer and use it in GitHub Desktop.
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
from monitoring import api, crypto, webpage | |
from notifications import send_sms, send_email, send_to_slack | |
def run(): | |
# monitoring - uncomment the one you want to use | |
msg = api.check_exchange_rate() | |
# msg = crypto.check_available_mim() | |
# msg = webpage.find_add_to_cart_button() | |
# notification - uncomment the one you want to use | |
if msg: | |
# send_sms.send_sms(msg=msg) | |
# send_email.send_email(msg=msg) | |
send_to_slack.send_to_slack(msg=msg) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment