Page 1 of 1

retrieving user's rating

PostPosted: Tue Dec 14, 2010 4:18 pm
by dijxtra
I'd like to sort entrants to my tournament by rating. So, what would be the easiest way to get a user's rating?

I figured writing a small python bot which for each user fetches a user-page, parses html and extracts rating, but I failed miserably because CC requires JavaScript to get a user-page and I'm using urllib2 and don't know how to fake JavaScript support.

My knowledge of CC APIs is nonexistent so I come here for a word of advice. Where should I look for a tool to make my script?

Thanks in advance,
dijxtra