Lookup a gamertag and retrieve fuzzy matches and the related platform.
platform 'all' is valid and will search all possible platforms
import { Misc, platforms } from "call-of-duty-api"; try { let data = await Misc.search(gamertag: string, platform: platforms) } catch(Error) { //Handle Exception }
Last updated 3 years ago
Was this helpful?