Skip to content

Question about mapping titleId to npCommunicationId #275

@refear99

Description

@refear99

Hi, I have a question about mapping titleId to npCommunicationId.

To fetch playtime data for games a user has played, I’m looping through $user->gameList() and using the titleId from each entry to call:

$user->titleIdsToCommunicationIds(['CUSA18333_00', 'CUSA08804_00']);

Then I store the mapping of titleId to npCommunicationId in my database.

However, I noticed a case where the mapping seems to fail:

For example, a user’s gameList includes Shadow of the Colossus with titleId = CUSA08804_00, but when I call titleIdsToCommunicationIds(['CUSA08804_00']), it does not return a corresponding npCommunicationId .

The game also doesn’t appear in their trophy list.

Could this be because the user earned 0% trophies in that game and later deleted the entry?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions