Update a pinned gist to contain your PlayStation stats
-
Fork this repository.
-
Create a new public GitHub Gist at https://gist.github.com/.
-
Create a new token on the https://github.com/settings/personal-access-tokens/new page according to the following requirements:
- Expiration: Select Custom and set the expiration date to 1 year. (Ps: You should renew the token every year.)
- Repository access: Select
Only select repositories
and select the repository you forked. - Repository permissions: Enable
Secrets
read and write permissions, theMetadata
read-only permission. - Account permissions: Enable
Gists
to read and write permissions. - For complete setup reference here
-
Sign in to the PlayStation Store at https://library.playstation.com/recently-purchased.
-
Open the following link: https://ca.account.sony.com/api/v1/ssocookie, and copy the
npsso
value. -
Go to the repository Settings > Secrets, Add the following environment variables:
- PSN_NPSSO: The
npsso
value you copied in 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>
.
- PSN_NPSSO: The