Links

Getting Started

How to get started with the API.

Migrating from 2.x.x to 3.x.x

Migration Guide
API Migration Guide
Migration guide for 2.x.x. to 3.x.x

Installation

npm install call-of-duty-api@latest

Initialize

import { login } from "call-of-duty-api";
login(ssoToken: string);
// or alternatively
import API from "call-of-duty-api";
API.login(ssoToken: string);

Platforms

import { platforms } from "call-of-duty-api";