Main entry point: exports a module per game and a couple of helpers to interact with a player's profile. Before calling any method, make sure to define an env var COD_SSO_TOKEN or call login.
COD_SSO_TOKEN
COD_SSO_TOKEN="<INSERT-SSO-TOKEN-HERE>" npm start
or
import { login } from "@diegofigs/call-of-duty";login("<INSERT-SSO-TOKEN-HERE>");
Generated using TypeDoc
Main entry point: exports a module per game and a couple of helpers to interact with a player's profile. Before calling any method, make sure to define an env var
COD_SSO_TOKEN
or call login.Example
or