Links

Map List

Retrieve list of maps and their supported modes.
import { ModernWarfare, platforms } from "call-of-duty-api";
try {
let data = await ModernWarfare.mapList(platform: platforms)
} catch(Error) {
//Handle Exception
}