Conquer Club

retrieving user's rating

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

retrieving user's rating

Postby dijxtra on Tue Dec 14, 2010 4:18 pm

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
Sergeant 1st Class dijxtra
 
Posts: 111
Joined: Sun May 20, 2007 9:26 am
Location: Croatia

Return to Tool Archives

Who is online

Users browsing this forum: No registered users