APIs for fetching psn trophy information. Related front-end project, see: PSN-node-displayer
https://ps-trophy.onrender.com/doc
- All data fetched from playstation API will be cached in Redis for reducing requests to playstation API.
- Those data will be stale after 24 hours, before that you get the cached data.
- If you don't have a Redis instance, try free one (memory limit 30MB) on redislabs
- After 2.0.0,
NPSSO
should be setted by/configs/npsso
api.
- Login your Sony account: https://my.playstation.com
- Access: https://ca.account.sony.com/api/v1/ssocookie
- Prerequisite: prepare your Redis instance and NPSSO
- Complete
.env.sample
and rename it to.env
npm run start
Files in api
folder is used for serverless function. If you use free database, it may not work well due to insufficient connection.