-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[V3] Where to start with master-branch ? #176
Comments
You can use my version of PSN API https://github.com/isFakeAccount/psnawp. Since it is in python it should be easy to use. The authentication work as of now. There is an issue with messaging endpoints. But if you are not using them, you should be fine. Unfortunately, Tustin is MIA as of now due to workload, |
Thank you for your help but I need a php version. |
|
Ok, just that simple (i feel ashamed). Thank you @Ragowit How does the refreshToken works on this version ?
|
The refreshToken doesn't work at all afaik. Don't think it's a thing anymore with the new API. Remember that the master-branch is under development and some stuff in there might just be legacy code that is meant to be removed at some point, and I believe refreshToken is one of those things. I just use loginWithNpsso all the time within my code. It usually lasts for about two months before I need to update the npsso. I've tried to have a second dummy account as backup if the first one fails to login, but it seems that if one of my npsso needs to be refreshed, all my npsso needs to be refreshed. It's like Sony uses a button that forces a new npsso token on all users at certain intervals. |
Ok, good to know. I'll try to find my way with the code. Thanks again, I hope I won't have to bother you again. See ya. ;) |
@Reuns Sorry about this. The new API is quite a bit of a different beast and I've yet to sit down and write documentation for it. If there's anything in particular you need help porting over, please let me know and I can try to help 😄 |
@Tustin did you have any luck finding the old 'gamelist' endpoint yet? I have been searching and trying a lot of endpoints, also trying to reverse-engineer the Android app, but no luck. Trophies are accessible, but game info I have no idea. |
i've been using kvickpsn, it worked great so far until about a month ago. Endpoints for 'threads' stop working and always return rate limit error. It'd be great if anyone share some insight on that. |
Hey, back on track ! For real this time... Why do I have I'm not good with the try / catch thing. this is what i've tried
|
Hello Reuns, did you manage to solve that exception? I'm still doing this: require_once '../vendor/autoload.php'; // Your games
} But still getting the error: Fatal error: Uncaught Tustin\Haste\Exception\AccessDeniedHttpException in C:\xampp\htdocs\Argosth\vendor\tustin\haste\src\Http\Middleware\ResponseHandlerMiddleware.php:61 Stack trace: #0 Any ideas? Thank you :) |
Hi @Argosth I don't have any error at this point. Can you share us more of your code ? |
Hello, thank you, here is all my steps until now: My composer version is: guzzlehttp/guzzle 7.3.0 Guzzle is a PHP HTTP client library I think, I have the dev psn-api, because I modified the composer.json with the next code and used composer update: Now, I used the next method to log in with npsso:
After that, I call the functions with the next code:
At this moment is when the error appears, any ideas? |
I can't see what's wrong with your code. |
No Reuns, how can I try/catch that exception inside a loop? |
Sorry, I can't help you, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello.
I was using V2.1.3 before it stopped.
Now I've downloaded the master-branch but I don't know where to start.
I'm a bit lost (completely actually) and without any doc I can't do anything :(
Can someone provide me some help please ?
I'm stuck at the very beginning.
Thanks.
The text was updated successfully, but these errors were encountered: