add instructions for obtaning API token

This commit is contained in:
tim 2021-09-12 08:17:43 -04:00
parent a7eb673753
commit 517f1e312f
1 changed files with 7 additions and 1 deletions

View File

@ -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.
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'```