/us-visa-appointment-finderer

Monitor US visa appointments in Canada

Primary LanguageJavaScriptMIT LicenseMIT

US-visa-appointment-notifier

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.

How it works

  • 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

Configuration

copy the example configuration file exampe in .env.example, rename the copied version to .env and replace the values.

SendGrid config 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.

FAQ

How to use it

  • clone the repo
  • run npm i within the cloned repo directory
  • start the process with npm start