diff --git a/README.md b/README.md index 072ee56..0261c6e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # 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. \ No newline at end of file +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'``` \ No newline at end of file