Automatic COVID SAfe check-in script for South Australia. Intended to be executed automatically upon login on a work computer.
Go to file
tim 517f1e312f add instructions for obtaning API token 2021-09-12 08:17:43 -04:00
LICENSE Initial commit 2021-08-26 02:15:00 -04:00
README.md add instructions for obtaning API token 2021-09-12 08:17:43 -04:00
auto_COVID_SAfe_checkin.sh migrate to git 2021-08-26 15:45:59 +09:30

README.md

auto_COVID_SAfe_checkin.sh

Automatic COVID SAfe check-in script for South Australia. Intended to be executed automatically upon login on a work computer.

To get your COVID_API_TOKEN, fill in your number and run this command: curl 'https://api.sa.gov.au/covid-venue-checkin/v1/begin-mobile-verification?mobileNumber=61400000000' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0' -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://checkin.covid-19.sa.gov.au/' -H 'Origin: https://checkin.covid-19.sa.gov.au' -H 'Connection: keep-alive'

You will receive a verification code by SMS. Fill it in here along with your mobile number and you will get your COVID_API_TOKEN: curl 'https://api.sa.gov.au/covid-venue-checkin/v1/complete-mobile-verification?mobileNumber=61400000000&verificationCode=000000' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0' -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://checkin.covid-19.sa.gov.au/' -H 'Origin: https://checkin.covid-19.sa.gov.au' -H 'Connection: keep-alive'