Skip to content

Fetch exchange rates and send an email if rate is above defined threshold for the desired currencies.

Notifications You must be signed in to change notification settings

razinj/exchange-rate-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exchange Rate Notifier

A script that fetches the exchange rates (USD base) from OpenExchangeRate and sends an email notification if the rate is above the defined threshold for the given currencies.

The script runs on a scheduled GitHub Actions workflow every 1h between 8-22 (in theory, but it will never be exactly one hour, see here for more information).

Run

Install dependencies:

pip install -r requirements.txt

Run the script:

python script.py

Development

Format:

make format

Lint:

make lint

About

Fetch exchange rates and send an email if rate is above defined threshold for the desired currencies.

Topics

Resources

Stars

Watchers

Forks