Tustin / psn-php

A PHP wrapper for the PSN API
https://tustin.dev/psn-php/
MIT License
354 stars 73 forks source link

Not work isOnline(). How check all trophies for game by id this game? #204

Closed sheckler-oke closed 1 year ago

sheckler-oke commented 2 years ago
  1. all online accounts im gived status offline.
  2. How check all trophies for game by id this game or name (if this game dont owned me or user)?
Ragowit commented 2 years ago
  1. I don't know, have never used that function.
  2. You need to find a user that owns that game.
spypix3l commented 2 years ago

Hi, @sheckler-oke you're right. The isOnline() method always returns false for some reason. Is there any chance that this will be fixed ?

For my development, I'd like to get the status and the title_id of the game being played by the user. Is there a workaround to do this ?

Thank you,

gabetavares commented 2 years ago

Hey @spypix3l so probably not in this version. The following methods can't be plucked since the API does not return the information, maybe in early versions they are available, but now it seems to be deprecated.

The false you got from return is a false-positive response, it does not mean the user is offline, the same behaviour happens to these methods as far as I know:

Maybe try to take a look at the Tustin/PlayStationDiscord seems to be something you are looking for.

spypix3l commented 2 years ago

Hi @gabetavares Thank you very much ! I'll have a look at it.

stale[bot] commented 2 years ago

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.