codingame_tools.client.service.services.programming_language¶
programming_language
¶
Async ProgrammingLanguage service endpoint.
CgProgrammingLanguageServiceHelper
¶
CgProgrammingLanguageServiceHelper(service)
Bases: CgServiceHelper['CgProgrammingLanguageService']
Helper methods for CgProgrammingLanguageService. Currently empty.
Source code in codingame_tools/client/service/cg_service.py
124 125 | |
CgProgrammingLanguageService
¶
CgProgrammingLanguageService(client)
Bases: CgService
Async ProgrammingLanguage service endpoint.
Source code in codingame_tools/client/service/services/programming_language.py
23 24 25 | |
find_all_ids
async
¶
find_all_ids()
Find the IDs of all programming languages supported for contribution reference solutions.
Returns:
-
list[CgSolutionLanguage]–A list of
CgSolutionLanguagestrings, e.g. "Python3", "Java", "C++".
Raises:
-
CgAuthenticationError–If the session is not authenticated and cannot implicitly login.
-
CgClientHttpError–If a transport error occurs, if the response content could not be decoded at all, if the status code is not 2xx, or if the decoded content is not a list.
Source code in codingame_tools/client/service/services/programming_language.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | |