You don't need the API for this. 1) Click on the cog next to spells. 2) in the General Options (third column of settings) there is a setting called "Short/Long Rest", turn that on. 3) Go back to the Core Page, hover over the Sorcery Points resource. Click the cog. 4) Change the "Reset On" field from Disabled to Long Rest. Now you can hit the Long Rest button and it will reset your Sorcerer Points.