UNPKG

psn-api

Version:

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

13 lines (12 loc) 799 B
import type { AccountDevicesResponse, AllCallOptions, AuthorizationPayload } from "../models"; type GetAccountDevicesOptions = Pick<AllCallOptions, "headerOverrides">; /** * A call to this function will retrieve the list of devices the client is logged into. * This includes information about PlayStation consoles (PS5, PS4, PS3) and handheld * devices (PSVita) that are associated with the account. * * @param authorization An object containing your access token, typically retrieved with `exchangeAccessCodeForAuthTokens()`. * @param options Optional - Additional headerOverride options to provide for the request */ export declare const getAccountDevices: (authorization: AuthorizationPayload, options?: GetAccountDevicesOptions) => Promise<AccountDevicesResponse>; export {};