competemcgill / wisp-users-microservice

WISP Microservice to handle user data and interactions
https://docs.wisp.compete-mcgill.ca/microservices/users
MIT License
4 stars 1 forks source link

Iterate through all Codeforces problems #16

Closed ValerianClerc closed 4 years ago

ValerianClerc commented 4 years ago

Codeforces' API only returns a certain number of entries when you query all of a user's submissions. We want the users microservice to check previous pages too, if the last submission that we have stored isn't on the current page, by making more queries to the Codeforces API and scanning through those.

MohamedBeydoun commented 4 years ago

if "from" and "count" are not specified in our requests, codeforces returns all submissions.