NPSSO management #179
Replies: 2 comments 6 replies
-
Hey, i'm currently using the NPSSO to log-in once, and then store the returned accessToken + refreshToken in some sort of cache, like Redis. I then use the refreshToken to refresh the accessToken when it expires. EDIT: |
Beta Was this translation helpful? Give feedback.
-
Not necessarily. This is assuming 1 call fetches one game. But most likely one API call will fetch 50 or maybe even 200 items. You can see this here https://github.com/isFakeAccount/psnawp/blob/master/src/psnawp_api/models/user.py. Each endpoint has different page size. So depending on what you are doing. You most likely don't need 300 API calls to fetch 300 games. |
Beta Was this translation helpful? Give feedback.
-
Just a quick question to make sure I haven't missed anything, when making a call to get users trophies how do you manage the NPSSO? I believe there is a limit of 300 calls every 15 mins? I'm trying to think of ways I can manage a lot of calls? If I had 2 users each with 300 games it will take me over 30 minutes using 1 NPSSO? Do people use multiple NPSSO or do you use another way? @Lamarcke @isFakeAccount @Hartaithan
Beta Was this translation helpful? Give feedback.
All reactions