amechtake / Booking-Appointment-in-TLScontact

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Booking Appointment in TLScontact

A simple script to check the available appointment of TLScontact.

Tested with Visa Application Centre for France in Edinburgh and London, the United Kingdom.

Usage:

usage: TLScontact.py [-h] [-d DELAY] [-v] login password country city month day

Script to check the available appointment of TLScontact.

positional arguments:
  login                      TLScontact login (e-mail address)
  password                   TLScontact password
  country                    The country code of your application center (gb for the UK)
  city                       The city code of your application center (LON for London)
  month                      The latest acceptable month
  day                        The latest acceptable day

optional arguments:
  -h, --help                 show this help message and exit
  -d DELAY, --delay DELAY    delay between attempts, in seconds(default: 300)
  -v, --verbose              verbose mode

The country code and city code could be found in the TLScontact url.

For now, the code could not book appointment, but send a mail as notification. Modify the valor in tmp_solution.

To-Do:

  • Repair booking appointment function (the appointment can't be canceled by ourselves, averse to test)
  • Use Python class

Coded for 🍳🍳

About

License:MIT License


Languages

Language:Python 100.0%