Codechef Rating Predictor is Back

I’m glad you guys liked it. But unfortunately there are very less chances of making it comeback. After the API was restricted, I made changes to access it using OAuth2 via credentials.

But a part of this predictor parses the submissions page of contest to get list of all participants since ranklist doesn’t have participants having zero score. Example - https://www.codechef.com/DEC19B/status/WATSCORE?page=3

Initially it was able to parse all pages. But now after 10-12 requests, the “Hold it Right there sparky” page comes because of which it can’t parse any further.

Moreover, there is an API endpoint for submissions page but you can only request 20 submissions at max per request and in 5 minute you can do max 30 requests(there is a limit from API). So in 5 minutes, you parse at max 20*30=600 submissions which is ofcourse very less considering the amount of submissions that are actually there.

11 Likes