API:GetTpExp

Returns how much talent points and maybe how many experiance points you have. Not really tested. GetTpExp

Returns
a Number

Example
/script DEFAULT_CHAT_FRAME:AddMessage(GetTpExp);

Returned current amount of talent points.