Closed kaelonR closed 4 months ago
Sure is possible and shouldn't be hard https://warcraft.wiki.gg/wiki/API_C_MythicPlus.GetWeeklyBestForMap
local maps = C_ChallengeMode.GetMapTable()
for _, mapID in ipairs(maps) do
local duration, level = C_MythicPlus.GetWeeklyBestForMap(mapID)
if duration then
local name = C_ChallengeMode.GetMapUIInfo(mapID)
print(string.format("+%d %s in %s", level, name, SecondsToTime(duration)))
end
end
Split from #18: