This project is a modified version of us-visa-appointment-notifier. Credits to the original author. Compared to the original project, this one uses Sendgrid (free 100 emails/day) instead of MailGun (30 day free trial) and it allows to simultaneosly monitor mutliple location schedules. This is just a script I put together to check and notify me via email (SendGrid) when there's an earlier date before my initial appointment date. It doesn't handle rescheduling.
- Logs you into the portal
- checks for schedules by day
- If there's a date before your initial appointment, it notifies you via email
- If no dates found, the process waits for set amount of seconds to cool down before restarting and will stop when it reaches the set max retries.
see
config.js
or.env.example
for values you can configure
copy the example configuration file exampe in .env.example
, rename the copied version to .env
and replace the values.
You can create a free account with https://www.sendgrid.com/ which should be sufficient and use the provided sandbox domain on your dashboard. The SENDGRID_API_KEY
can be found in your SendGrid settings, it starts with SG.xxxxxx
. You'll need to add authorised sending email.
- How do I get my facility ID - theoomoregbee/US-visa-appointment-notifier#3
- If required, enter more than one facility id in .env file comma separated without spaces
- How do I get my schedule ID - theoomoregbee/US-visa-appointment-notifier#8, theoomoregbee/US-visa-appointment-notifier#7 (comment)
- clone the repo
- run
npm i
within the cloned repo directory - start the process with
npm start