The purpose is to get the achievements criteria infos.
It isn't released in Blizzard html api yet, so you have to search it ingame.
install the addon, log with all your toons, disconnect, and you have in
World of Warcraft\WTF\Account\<your account>\SavedVariables\HautFaits_criteria.lua
everything they have access to.
(A toon doesn't have access to everything, because if it hasn't done a dungeon in normal version, it won't have access to the heroic dongeon data, and if it has done the heroic, it won't have access to the normal dongeon data anymore.)
you'll get the data in the language of the version you have connected your toons in.
I use it in php :
$achievements = 'HautFaits_Criteria.lua';
$data = file_get_contents($achievements, NULL, NULL, 24);
$json = str_replace(array("=", "\n", "\r", "\t", "[", "]"), array(":", "", "", "", "", ""), $json);
$json = str_replace(array(",}"), array("}"), $json);
$json = preg_replace('/([{,])(\s*)([^"]+?)\s*:/', '$1"$3":', $json);
$achievements = json_decode($json, $assoc);
the resulting $achievements is an array
{[achievementId] = {["numCriteria"] = 1,
["achievementFlags"] = 0,
["achievementImage"] = "Interface\\Icons\\ability_vehicle_liquidpyrite_blue",
["achievementReward"] = "Récompenses : titre et tabard de maître des traditions",
["criteria"] = {[criteriaId] = {[criteriaFlags"] = 1,
["criteriaString"] = "Défenseurs d'acier forgé tués",
["criteriaReqQuantity"] = 100,
["criteriaType"] = 28,
["criteriaAssetId"] = 65387,
}
}
}
}
"achievementReward" and "criteria" are optional
a criterium may happen in several achievements
"criteriaType" is a bit mysterious, but when it's 8, "criteriaAssetId" is in achievementId
you'll find more info in this on http://www.wowwiki.com/API_GetAchievementCriteriaInfo
you should use the files in UTF-8 for compatibility
version 20120505 : corrected a bug preventing the file to get filled.