dawai

A NPM command line interface to fetch number of beds, slots etc. available in any perticular state of India

Usage no npm install needed!

<script type="module">
  import dawai from 'https://cdn.skypack.dev/dawai';
</script>

README

Dawai 💊

🚀 A CLI tool to get all the information about vaccination in India

Dawai Image

Use Dawai to get all the informations about the vaccination process in your locality or area, you will get complete information about the age, vaccine name, slots, availability of vaccine and many more!!! just in your command prompt

Action Status npm version

Installation

To install Dawai on your PC, follow the instructions given below_______ and enjoy your day!!

npm install dawai -g

When Dawai is installed completely, then use command the dawai in console.

C:\Users\Satyam Roy\Desktop\shield>dawai

you will get output like this------->

Usage: index [options] [command]

Options:
  -a                   --available (default: "avaialble slots")
  -h, --help           display help for command

Commands:
  states               list down all the states
  districts <stateid>  Get all districts for state using state id
  slots <districtid>   Get all slots for district id
  developer            Gell to know about the developer
  help [command]       display help for command

Few examples

C:\Users\Satyam Roy\Desktop\shield>dawai states

  ┌────────────────────┬────────────────────────────────────────┐
  │      state_id      │               state_name               │
  ├────────────────────┼────────────────────────────────────────┤
  │ 1                  │ Andaman and Nicobar Islands            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 2                  │ Andhra Pradesh                         │
  ├────────────────────┼────────────────────────────────────────┤
  │ 3                  │ Arunachal Pradesh                      │
  ├────────────────────┼────────────────────────────────────────┤
  │ 4                  │ Assam                                  │
  ├────────────────────┼────────────────────────────────────────┤
  │ 5                  │ Bihar                                  │
  ├────────────────────┼────────────────────────────────────────┤
  │ 6                  │ Chandigarh                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 7                  │ Chhattisgarh                           │
  ├────────────────────┼────────────────────────────────────────┤
  │ 8                  │ Dadra and Nagar Haveli                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 37                 │ Daman and Diu                          │
  ├────────────────────┼────────────────────────────────────────┤
  │ 9                  │ Delhi                                  │
  ├────────────────────┼────────────────────────────────────────┤
  │ 10                 │ Goa                                    │
  ├────────────────────┼────────────────────────────────────────┤
  │ 11                 │ Gujarat                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 12                 │ Haryana                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 13                 │ Himachal Pradesh                       │
  ├────────────────────┼────────────────────────────────────────┤
  │ 14                 │ Jammu and Kashmir                      │
  ├────────────────────┼────────────────────────────────────────┤
  │ 15                 │ Jharkhand                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 16                 │ Karnataka                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 17                 │ Kerala                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 18                 │ Ladakh                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 19                 │ Lakshadweep                            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 20                 │ Madhya Pradesh                         │
  ├────────────────────┼────────────────────────────────────────┤
  │ 21                 │ Maharashtra                            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 22                 │ Manipur                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 23                 │ Meghalaya                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 24                 │ Mizoram                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 25                 │ Nagaland                               │
  ├────────────────────┼────────────────────────────────────────┤
  │ 26                 │ Odisha                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 27                 │ Puducherry                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 28                 │ Punjab                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 29                 │ Rajasthan                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 30                 │ Sikkim                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 31                 │ Tamil Nadu                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 32                 │ Telangana                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 33                 │ Tripura                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 34                 │ Uttar Pradesh                          │
  ├────────────────────┼────────────────────────────────────────┤
  │ 35                 │ Uttarakhand                            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 36                 │ West Bengal                            │
  └────────────────────┴────────────────────────────────────────┘
C:\Users\Satyam Roy\Desktop\shield>dawai districts 36

  ┌────────────────────┬────────────────────────────────────────┐
  │    DISTRICT ID     │             DISTRICT NAME              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 710                │ Alipurduar District                    │
  ├────────────────────┼────────────────────────────────────────┤
  │ 711                │ Bankura                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 712                │ Basirhat HD (North 24 Parganas)        │
  ├────────────────────┼────────────────────────────────────────┤
  │ 713                │ Birbhum                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 714                │ Bishnupur HD (Bankura)                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 715                │ Cooch Behar                            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 783                │ COOCHBEHAR                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 716                │ Dakshin Dinajpur                       │
  ├────────────────────┼────────────────────────────────────────┤
  │ 717                │ Darjeeling                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 718                │ Diamond Harbor HD (S 24 Parganas)      │
  ├────────────────────┼────────────────────────────────────────┤
  │ 719                │ East Bardhaman                         │
  ├────────────────────┼────────────────────────────────────────┤
  │ 720                │ Hoogly                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 721                │ Howrah                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 722                │ Jalpaiguri                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 723                │ Jhargram                               │
  ├────────────────────┼────────────────────────────────────────┤
  │ 724                │ Kalimpong                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 725                │ Kolkata                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 726                │ Malda                                  │
  ├────────────────────┼────────────────────────────────────────┤
  │ 727                │ Murshidabad                            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 728                │ Nadia                                  │
  ├────────────────────┼────────────────────────────────────────┤
  │ 729                │ Nandigram HD (East Medinipore)         │
  ├────────────────────┼────────────────────────────────────────┤
  │ 730                │ North 24 Parganas                      │
  ├────────────────────┼────────────────────────────────────────┤
  │ 731                │ Paschim Medinipore                     │
  ├────────────────────┼────────────────────────────────────────┤
  │ 732                │ Purba Medinipore                       │
  ├────────────────────┼────────────────────────────────────────┤
  │ 733                │ Purulia                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 734                │ Rampurhat HD (Birbhum)                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 735                │ South 24 Parganas                      │
  ├────────────────────┼────────────────────────────────────────┤
  │ 736                │ Uttar Dinajpur                         │
  ├────────────────────┼────────────────────────────────────────┤
  │ 737                │ West Bardhaman                         │

C:\Users\Satyam Roy\Desktop\shield>dawai slots 737
? Please choose age group 18-45
Date for which run ->26-05-2021
District ->West Bardhaman

  ┌────────────────────────────────────────┬────────────────────────────────────────┬────────────────────┬──────────┬────────────────────┐
  │              Center Name               │             Center Address             │   Available Slot   │   Age    │        Date        │
  ├────────────────────────────────────────┼────────────────────────────────────────┼────────────────────┼──────────┼────────────────────┤
  │ Nabaghanti UPHC                        │ Asansol                                │                    │ 18       │ 26-05-2021         │
  ├────────────────────────────────────────┼────────────────────────────────────────┼────────────────────┼──────────┼────────────────────┤
  │ Asansol UPHC 9 Nabaghanti              │ Nabaghanti                             │                    │ 18       │ 26-05-2021         │
  └────────────────────────────────────────┴────────────────────────────────────────┴────────────────────┴──────────┴────────────────────┘

C:\Users\Satyam Roy\Desktop\shield>


Made with ❤️ by Satyam Roy

reference used

  1. Tech- Blogs
  2. Node-js courses