triton2997 / cowin-slot-notifier

Utility that automatically alerts via email if slots are available on the CoWIN portal. Provides rich filtering by list of pincodes, type of vaccine, dose number, etc
0 stars 0 forks source link

[STORY]: Update slot retriever module for v2 #26

Closed triton2997 closed 3 years ago

triton2997 commented 3 years ago

Feature: #18

Date: 17/07/2021

Description:

  1. Update module to retrieve slots for next 7 days
  2. Add exception handling for various cases - connection lost, response other than 200, etc

Priority: 1

Estimated efforts (person hours): 5

ETA: 23/07/2021

triton2997 commented 3 years ago
  1. Added Exception handling in slot retriever module
  2. Module now returns slots object, response code (-1 for state/district error, 200 for all good, rest for other exceptions) and error object
  3. Slots are currently being released on COWIN only for today and tomorrow, so slots for next 7 days update has been postponed
triton2997 commented 3 years ago

Full testing of slot retriever with exception handling complete