There's an api call called 'WithdrawInfo' and he used it.
then he used available = float(withdrawinfo['limit'])
I'm such an idiot!
I've been on kraken's API page for days looking for just that! And I didn't see it, I was looking for 'balances on hold' or something dumb. Thanks for your reply.