Automatic COVID SAfe check-in script for South Australia. Intended to be executed automatically upon login on a work computer.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tim 517f1e312f add instructions for obtaning API token 2 years ago
LICENSE Initial commit 2 years ago
README.md add instructions for obtaning API token 2 years ago
auto_COVID_SAfe_checkin.sh migrate to git 2 years ago

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'