ayushi7rawat/CoWin-Vaccine-Notifier

Unstructured format of the script

shashankjo opened this issue · 0 comments

print("Starting search for Covid vaccine slots!")

The script does it's job but code is not maintainable. The script could be refactored to follow an OOP approach and could be written as a Class.

Benefits of structuring the script as a Class :

  1. Easier to write specs (unit test cases).
  2. Easier to publish the Class file as a library that could be directly imported into other projects.