Code is messy. Playing around with go and Rook API
cp example.env .env
and update with your values from https://www.clients.portal.tryrook.io/home/settings/tokens
- Generate a QR code (update user_id name that you want on line 9 of get_code.sh)
bash scripts/get_code.sh
-
Copy the png text from the returned data (
data:image/png;base64, iVBORw0KG...) -
Paste into browser to render QR code
-
Download Rook Extraction App: https://docs.tryrook.io/docs/ROOKExtractionApp/introduction/#how-to-get-the-app
-
Scan the QR code
Update user_ID in fetch_data.go