Serializer¶
To import this module:
from python3_anticaptcha.core import serializer
- class core.serializer.BaseAPIResponseSer(errorId: int = 0, errorCode: str = None, errorDescription: str = None)¶
- errorId: int¶
- errorCode: str¶
- errorDescription: str¶
- class core.serializer.CreateTaskResponseSer(errorId: int = 0, errorCode: str = None, errorDescription: str = None, taskId: int = None)¶
- taskId: int¶
- class core.serializer.GetTaskResultRequestSer(errorId: int = 0, errorCode: str = None, errorDescription: str = None, clientKey: str = None, taskId: int = None)¶
- clientKey: str¶
- taskId: int¶
- class core.serializer.GetTaskResultResponseSer(errorId: int = 0, errorCode: str = None, errorDescription: str = None, status: ~core.enum.ResponseStatusEnm = 'processing', solution: dict = <factory>, cost: float = 0.0, ip: str = None, endTime: int = None, createTime: int = None, solveCount: int = 0, taskId: int = None)¶
- status: ResponseStatusEnm¶
- solution: dict¶
- cost: float¶
- ip: str¶
- endTime: int¶
- createTime: int¶
- solveCount: int¶
- taskId: int¶