From 74ac74415583a88cefdbefc0f457948e573370dc Mon Sep 17 00:00:00 2001 From: roShan <45506201+truroshan@users.noreply.github.com> Date: Wed, 12 May 2021 14:42:45 +0530 Subject: [PATCH] Update README.md --- README.md | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 34cfd06..51c3a17 100644 --- a/README.md +++ b/README.md @@ -1 +1,46 @@ -# CoWin-Termux \ No newline at end of file +# COWIN VACCINE AVAILABILITY NOTIFIER +Get notified on your phone when there is a vaccine slot available at your location, by running a script on your phone. Uses Co-Win public APIs. + + + ## Getting Started + By using Tremux you can run script and recieve the notification on your phone. + - ### Setting Up Termux + + - Install Termux App [Link](https://play.google.com/store/apps/details?id=com.termux&hl=en_IN&gl=US). + + - Install Termux:API App on phone to recieve notifications [Link](https://play.google.com/store/apps/details?id=com.termux.api&hl=en). + + - ### Installing Packages + - Install Python + + pkg install python + + - Install Termux-API Package + + pkg install termux-api + + - Clone Repo + + git clone https://github.com/truroshan/cowin-termux + + - Install Requirements.txt using pip + + pip install -r requirements.txt + + +## Running Script + +Install [python](https://wiki.termux.com/wiki/Python), if not already installed on Termux. Then run the following command: + + python cowin.py --p --a --t + +Replace the arguments above with the required values like mentioned below + + - Replace `--p=` with your pincode. + + +Optional arguments accepted: + + - Pass `--a=` with your age (default is 45). + + - Pass `--t=` to change the frequency of calling Cowin API (default is 3 mins).