krapio
Library referenceTypes

AppPlayer

type AppPlayer = {
  clan?: string;
  level: number;
  name: string;
  premium: boolean;
  sub: string;
  verified: boolean;
};

GET /app/v1/players/by-name/:name, and data of GET /app/v1/me

Properties

PropertyTypeDescription
clan?stringthe clan tag, absent without a clan
levelnumber-
namestring-
premiumboolean-
substringthe player's subject id in this app, the key to store users under
verifiedboolean-

On this page