Is there a use for the tokens in the Pokemon TCG online? I have only just started playing it but happened to earn a few tokens. But when I am in the game, what can I use the tokens for? Are they used for some sort of ranking status?

Not they're not. As far as I can tell, all they are good for is going to pokemon.com and buying stuff for your avatar there like Ben Brocka said, but that's it. You can't use it for anything else so far. Not even avatar gear in the Pokemon TCGO.