VadVergasov / CodeforcesApiPy

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

Updates in Codeforces API #415

Open unaimillan opened 8 months ago

unaimillan commented 8 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 8 months ago

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