import { ModernWarfare, platforms } from "call-of-duty-api";
try {
let data = await ModernWarfare.fullData(gamertag: string, platform: platforms)
} catch(Error) {
//Handle Exception
}
import { Warzone, platforms } from "call-of-duty-api";
try {
let data = await Warzone.fullData(gamertag: string, platform: platforms)
} catch(Error) {
//Handle Exception
}