Git Product home page Git Product logo

vfs-appointment-bot's Introduction

VFS Germany Appointment Bot

GitHub license GitHub forks GitHub stars GitHub issues Twitter

A script to check the appointment slots.

By default, it runs every 2 minutes and check for visa slots at VFS website and notifies the user by SMS and call
The interval can be changed in the config.

How to use

  1. Clone the repo: git clone https://github.com/ranjan-mohanty/vfs-appointment-bot.git
  2. Move into the repo: cd vfs_appointment_bot
  3. Update the config file (config/config.ini) with VFS and Twilio credentials
  4. Create a new virtual environment: python3 -m venv venv
  5. Activate the environment (might differ a bit for windows and MacOS): source venv/bin/activate
  6. Install the dependencies: pip install -r requirements.txt
  7. Run the script:

python vfs_appointment_bot/vfs_appointment_bot.py '<vfs_centre>' '<visa_category>' '<visa_subcategory>'

OR

python vfs_appointment_bot/vfs_appointment_bot.py

It will take the values as input from the user

** Please refer to the screenshot for more details regarding the inputs.

VFS Appointment Form Screenshot

Dependency

  • Create an account on Twilio to get text and call alerts. Sign up here for a trial account to get credits upto worth $10.
  • Install geckodriver

How to install geckodriver

Run these the commands:

wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz

(You can find the download URL to the latest release of geckodriver on Github.)

Extract the file with

tar -xvzf geckodriver*

Make it executable (note this shouldn't be necessary, unless the unzipped file doesn't have the execute bits set):

chmod +x geckodriver

Add the driver to your PATH in ~/.bashrc so other tools can find it:

export PATH=$PATH:/path-to-extracted-file/geckodriver

vfs-appointment-bot's People

Contributors

ranjan-mohanty avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.