Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Latest commit

 

History

History
38 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

38 lines (19 loc) · 1.02 KB

nj-mvc-watch

Poller to announce new appointment availabilities with the New Jersey Motor Vehicle Commission

Requirements

This tool requires python3.9 or above, and the requirements in requirements.txt:

pip install -r requirements.txt

Telegram Bot

To create a Telegram bot, follow telegram's guide.

Save the bot token and the chat/group id to which the bot will need to send the announces, you will need to input it in your configuration file

Configuration

Copy the config.sample.yaml file to config.yaml (or another filename of your chosing).

Update the file with your custom values.

Running

List appointment types

List possible appointment types, to fill the appointment_type variable:

python3 mvcnj.py -lstypes

Run bot

To execute the bot, just run:

python3 mvcnj.py [configfile.yaml]

You can omit the config file name if you used the default config.yaml location.