API C SpellBook.GetCurrentLevelSpells

Returns the new spells that will become available for a specific level.
 spellIDs = C_SpellBook.GetCurrentLevelSpells(level)
==Arguments==
:;level:
==Returns==
:;spellIDs:
==Example==
/dump C_SpellBook.GetCurrentLevelSpells(2)
>> {589} -- Shadow Word: Pain
==Patch changes==