Match Information
Retrieve detailed information about a specific match.
Multiplayer
import { ModernWarfare, platforms } from "call-of-duty-api";
try {
let data = await ModernWarfare.matchInfo(matchId: string, platform: platforms)
} catch(Error) {
//Handle Exception
}
Warzone
import { Warzone, platforms } from "call-of-duty-api";
try {
let data = await Warzone.matchInfo(matchId: string, platform: platforms)
} catch(Error) {
//Handle Exception
}
Last updated
Was this helpful?