API Migration Guide
  • Migration Guide
  • Installation and Initialization
  • What has been removed?
Powered by GitBook
On this page

What has been removed?

Login via 2captcha/ Puppeteer has been removed and the sole login method is via SSO token.

Puppeteer login took roughly 60 seconds to complete, which isn't ideal, especially for applications like Discord bots.

The login method still exists, however, it will expect an SSO token rather than an email/ password.

Example Login

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

PreviousInstallation and Initialization

Last updated 3 years ago