Module requests

Source
Expand description

Contains the structs etc. required to interface with the Codeforces API and the testcases scraper.

Structs§

CFRecentActionsCommand
Struct for sending recentActions requests to the Codeforces API.

Enums§

CFBlogEntryCommand
Wrapper enum for all API methods of form blogEntry.<method>.
CFContestCommand
Wrapper enum for all API methods of form contest.<method>.
CFProblemsetCommand
Wrapper enum for all API methods of form problemset.<method>.
CFUserCommand
Wrapper enum for all API methods of form user.<method>.

Traits§

CFAPIRequestable
Trait implemented by any type which can be sent as a request to the Codeforces API.

Functions§

fetch_testcases_for_problem
Extra utility function which webscrapes problem pages to get input testcases to a given problem.