How can I get the upcoming contests through API?

Revision en1, by Herio, 2021-09-12 12:38:27

I read the API document of codeforces and found that the interface for obtaining all contests is contest.list, but this method has only one parameter gym (bool) and can only return all contests. I just want to get information faster and only return upcoming contests instead of classifying after returning all contests.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Herio 2021-09-12 12:40:43 44 Tiny change: 'tests**.\n' -> 'tests**.\nCan someone help me? please.' (published)
en1 English Herio 2021-09-12 12:38:27 377 Initial revision (saved to drafts)