Skip to content

Automated bot sending you the location of the earliest available slot for New Jersey DMV / MVC.

Notifications You must be signed in to change notification settings

raphaelattias/nj-mvc-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NJ MVC Telegram Bot

Automated bot sending you the location of the earliest available slot for New Jersey DMV / MVC. Support both initial permit and knowledge test.

Installation

Setting-up the environnement

  1. Clone this repository and open a terminal in this directory.
  2. In the terminal, type
conda env create -f environment.yml -n dmv
conda activate dmv

Setting-up the telegram bot

To use the code, you will need to create a telegram bot. Your personal bot will have a token. Your own personal telegram account can be identified with an unique userid. You will need both the token and userid to send the notification.

It takes 5 min to create a bot for telegram. I recommend this tutorial to create a bot and get its token. To get your userid, I recommend this tutorial.

Usage

After setting-up the environment, simply run

python run.py

You will be prompted for your token, userid, and the kind of test you are trying to get.

Adding arguments

You can also run the code with arguments

python run.py --token YOURTOKEN --user YOURUSERID --permit knowledge

Get help

You can see examples and additional informations on the argument by running

python run.py -help

Example

drawing

About

Automated bot sending you the location of the earliest available slot for New Jersey DMV / MVC.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages