UNPKG

psn-api

Version:

A well-tested library that lets you get trophy, user, and game data from the PlayStation Network.

14 lines (13 loc) 839 B
import type { AuthorizationPayload, ShareableProfileLinkResponse } from "../models"; /** * A call to this function will retrieve a shareable link and QR code for a PlayStation Network user's profile. * The shareable link allows others to view the user's public profile information, and the QR code provides * a convenient way to share the profile via scanning. * * If the user's profile cannot be found or accessed, * an error will be thrown. * * @param authorization An object containing your access token, typically retrieved with `exchangeAccessCodeForAuthTokens()`. * @param accountId The account ID for the user whose shareable profile link you want to retrieve. */ export declare const getProfileShareableLink: (authorization: AuthorizationPayload, accountId: string) => Promise<ShareableProfileLinkResponse>;