VadVergasov / CodeforcesApiPy

Implementation of https://codeforces.com API
GNU General Public License v3.0
26 stars 4 forks source link

Updates in Codeforces API #415

Open unaimillan opened 3 months ago

unaimillan commented 3 months ago

Describe the bug Codeforces have updated their API and added new parameter asManager to the context.status endpoint https://codeforces.com/apiHelp/methods#contest.status

To Reproduce Steps to reproduce the behavior:

  1. Create codeforces_api.CodeforcesApi object
  2. Call the CodeforcesApi.contest_status method with parameter asManager=True

Expected behavior Method should work as expected and forward the argument to codeforces webapi

Additional context image

unaimillan commented 3 months ago

The full list of new parameters in API according to official docs: