Skip to content

A simple project to gather data updated daily on the number of COVID-19 cases in Ohio from the Ohio government's website and send the data through an email using the Java Mail API.

License

Notifications You must be signed in to change notification settings

saurinej/ohio_daily_virus_update

Repository files navigation

Ohio Daily Virus Update

A simple project with the purpose of providing daily updates on the number of confirmed cases of COVID-19 in Ohio through email. Data is gathered from the Ohio government's website through direct parsing from a link to a CSV file that contains the data for all cases in Ohio. Data is then formatted and sent through an email using the Java Mail API. To see this project built with maven, see this repository.

Prerequisites

This project is being developed using jdk-11.0.6, the download can be found here. Two APIs are used in this project including the JavaMail API version 1.6.2., found here and the JavaBeans Activation Framework version 1.1.1., found here.

Note, for the gmail account used to send the emails, "Less secure app access" will likely need to be turned on for this program to work. This can be done in the relevant google account security settings.

Getting Started

Once the project has been imported into eclipse, the path to the two external libraries must be reconfigured. This is done in eclipse through the Libraries tab in the Java Build Path for the project. Further details on this can be found here.

After being properly configured, Eclipse can be used to export the project to a runnable jar file. For instruction on this, see here. The program may be run through the command line.

$ java -jar "name_of_runnable_jar_file.jar"

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Thank you Stephen Mills and Ryan Farrar for your help and suggestions.

About

A simple project to gather data updated daily on the number of COVID-19 cases in Ohio from the Ohio government's website and send the data through an email using the Java Mail API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published