There is a problem with the text on this page, the link and name is "GetSpellCooldown" but the text then talks about GetActionCooldown?
second argument...[]
discrepancy between link from API list page and function description page
ingame test shows that second argument should be "booktype", which takes either of the following values BOOKTYPE_SPELL, BOOKTYPE_PET, "spell" or "pet"