Skip to content

Get accountId from npsso without doing a search. #229

@Giulio64

Description

@Giulio64

Hi! Thanks for making this great library. I would like to know if there is a way to retrieve a user account id directly from the npsso, something like:

const profile = await psn.getProfileFromAccountId(authorization, "me");

Unfortunately this is giving me "400" Bad request. I'm making an app where the user must signup once and I would really like to avoid making him/her specifying the userid too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions