Enum¶
To import this module:
from python3_anticaptcha.core import enum
- class core.enum.MyEnum(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Base class for work with updated Enums
- classmethod list() List[Enum] ¶
- classmethod list_values() List[str] ¶
- classmethod list_names() List[str] ¶
- class core.enum.EndpointPostfixEnm(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Enum stored URL postfixes for API endpoints
- CREATE_TASK = 'createTask'¶
- GET_TASK_RESULT = 'getTaskResult'¶
- class core.enum.CaptchaTypeEnm(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Enum with all available captcha types
- Control = 'Control'¶
- ImageToTextTask = 'ImageToTextTask'¶
- RecaptchaV2Task = 'RecaptchaV2Task'¶
- RecaptchaV2TaskProxyless = 'RecaptchaV2TaskProxyless'¶
- RecaptchaV3TaskProxyless = 'RecaptchaV3TaskProxyless'¶
- RecaptchaV2EnterpriseTask = 'RecaptchaV2EnterpriseTask'¶
- RecaptchaV2EnterpriseTaskProxyless = 'RecaptchaV2EnterpriseTaskProxyless'¶
- FunCaptchaTask = 'FunCaptchaTask'¶
- FunCaptchaTaskProxyless = 'FunCaptchaTaskProxyless'¶
- GeeTestTask = 'GeeTestTask'¶
- GeeTestTaskProxyless = 'GeeTestTaskProxyless'¶
- HCaptchaTask = 'HCaptchaTask'¶
- HCaptchaTaskProxyless = 'HCaptchaTaskProxyless'¶
- TurnstileTask = 'TurnstileTask'¶
- TurnstileTaskProxyless = 'TurnstileTaskProxyless'¶
- AntiGateTask = 'AntiGateTask'¶
- class core.enum.ResponseStatusEnm(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Enum store results status field variants
- processing = 'processing'¶
- ready = 'ready'¶
- class core.enum.ProxyTypeEnm(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Enum store proxy types
- http = 'http'¶
- https = 'https'¶
- socks4 = 'socks4'¶
- socks5 = 'socks5'¶
- class core.enum.ControlPostfixEnm(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Enum store control methods URLs postfix
- GET_BALANCE = 'getBalance'¶
- GET_QUEUE_STATS = 'getQueueStats'¶
- GET_APP_STATS = 'getAppStats'¶
- GET_SPENDING_STATS = 'getSpendingStats'¶
- REPORT_INCORRECT_IMAGE_CAPTCHA = 'reportIncorrectImageCaptcha'¶
- REPORT_INCORRECT_RECAPTCHA = 'reportIncorrectRecaptcha'¶
- REPORT_CORRECT_RECAPTCHA = 'reportCorrectRecaptcha'¶
- REPORT_INCORRECT_HCAPTCHA = 'reportIncorrectHcaptcha'¶