Get notified on your phone when there is a vaccine slot available at your location, by running a script on your computer. Uses Cowin portal's public API.
(node:14564) UnhandledPromiseRejectionWarning: Error: Request failed with status code 401
at createError (C:\Users\crmas\AppData\Roaming\npm-cache_npx\14564\node_modules\cowin-pinger\node_modules\axios\lib\core\createError.js:16:15)
at settle (C:\Users\crmas\AppData\Roaming\npm-cache_npx\14564\node_modules\cowin-pinger\node_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (C:\Users\crmas\AppData\Roaming\npm-cache_npx\14564\node_modules\cowin-pinger\node_modules\axios\lib\adapters\http.js:260:11)
at IncomingMessage.emit (events.js:388:22)
at endReadableNT (internal/streams/readable.js:1336:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
(node:14564) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
(node:14564) UnhandledPromiseRejectionWarning: Error: Request failed with status code 401 at createError (C:\Users\crmas\AppData\Roaming\npm-cache_npx\14564\node_modules\cowin-pinger\node_modules\axios\lib\core\createError.js:16:15) at settle (C:\Users\crmas\AppData\Roaming\npm-cache_npx\14564\node_modules\cowin-pinger\node_modules\axios\lib\core\settle.js:17:12) at IncomingMessage.handleStreamEnd (C:\Users\crmas\AppData\Roaming\npm-cache_npx\14564\node_modules\cowin-pinger\node_modules\axios\lib\adapters\http.js:260:11) at IncomingMessage.emit (events.js:388:22) at endReadableNT (internal/streams/readable.js:1336:12) at processTicksAndRejections (internal/process/task_queues.js:82:21) (node:14564) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)on both powershell and prompt