Browse Source

cowin check

pull/17/head
Harish Karumuthil 4 years ago
parent
commit
ed5721305d
  1. 7
      home/.local/Apps/daily-utils/bin/hari-tools.sh

7
home/.local/Apps/daily-utils/bin/hari-tools.sh

@ -182,6 +182,13 @@ kwinCompositorReload(){
qdbus-qt5 org.kde.KWin /Compositor resume
}
# List available vaccine centers
cowin_list(){
curl -s -X GET \
"https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByDistrict?district_id=303&date=$(date +'%d-%m-%Y' --date '1 day')" \
-H "accept: application/json" \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36' | jq
}
# Setup autocomplete. run eval "$(THIS_FILE setup-autocomplete)"

Loading…
Cancel
Save