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);

Last updated