UNPKG

psn-api

Version:

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

7 lines (6 loc) 288 B
import type { AuthorizationPayload, CallValidHeaders } from "../models"; export declare const call: <T>(config: { url: string; method?: "GET" | "POST"; headers?: CallValidHeaders; }, authorization: AuthorizationPayload, bodyPayload?: Record<string, any>) => Promise<T>;