Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keshavbhatt/covid19-vaccine-slot-tracker-india
This bash script takes Date and Area pin code as Input and shows various information about vaccination centre available at the given location
https://github.com/keshavbhatt/covid19-vaccine-slot-tracker-india
covid-19 india vaccine-slot-tracker
Last synced: 27 days ago
JSON representation
This bash script takes Date and Area pin code as Input and shows various information about vaccination centre available at the given location
- Host: GitHub
- URL: https://github.com/keshavbhatt/covid19-vaccine-slot-tracker-india
- Owner: keshavbhatt
- License: mit
- Created: 2021-05-15T15:23:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-15T21:17:03.000Z (over 3 years ago)
- Last Synced: 2024-05-02T04:52:50.039Z (8 months ago)
- Topics: covid-19, india, vaccine-slot-tracker
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Covid19 Vaccine slot availability tracker for India
This bash script takes Date and Area pin code as Input and shows various information about vaccination centre available at the given location
> NOTE: This script will work only with Indian IPs, as Cowin API server
> do not allow access from outside India.## Requirements:
- jq (`sudo apt install jq`)
- curl (`sudo apt install curl`)## How to Use:
The script takes two arguments: ` `
**Print usage instructions**
./app -h
**Simple use case:**
./app
Where `date` is passed in any format that the `date` command accept see [examples here](https://www.gnu.org/software/coreutils/manual/html_node/Examples-of-date.html) and `area-pin-code` is the PIN code of area/location you want to get information about. You can find area pin code for your location [here](http://pincode.india-server.com/)
**Example usage:**
To, see information about various covid vaccination centres for pin code 246149 for Today:
./app $(date +'today') 246149
or./app today 246149
To, see information about various covid vaccination centres for pin code 246149 for tomorrow:
./app $(date +'tomorrow') 246149
or./app tomorrow 246149
To, see information various covid vaccination centres for pin code 246149 of specified date i.e, of 2021-05-16 :
./app 2021-05-16 246149
## What else could be done
The script is in early development stage, please contribute to bring more features.
I quickly assembled and rolled this in few hours, am no BASH expert. so looking forward for contributors.**Features I am wishing to add:**
- Ability to run this script or a separate script as CRON job and notify user about the availability of slot after set interval using `notify-send`? etc.