Update a pinned gist to contain your Nintendo Switch Game stats
-
Fork this repository.
-
Create a new public GitHub Gist at https://gist.github.com/.
-
Go to the https://github.com/settings/tokens/new page to create a token, just grant the gist permission.
-
Run
python src/get_session_token.py
to get session token. -
Go to the repository Settings > Secrets, Add the following environment variables:
- NINTENDO_SESSION_TOKEN: The session token you got from the previous step.
- GH_TOKEN: The token you created in the previous step.
- GIST_ID: The ID portion from your gist URL:
https://gist.github.com/your_name/<GIST_ID>
.