Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype GridCaptcha = MkGridCaptcha Captcha
- gridCaptcha :: GridCaptcha
- reCAPTCHAImage :: Lens' GridCaptcha (Maybe Bool)
- canvas :: Lens' GridCaptcha (Maybe Bool)
- rows :: Lens' GridCaptcha (Maybe Int)
- columns :: Lens' GridCaptcha (Maybe Int)
- previousId :: Lens' GridCaptcha (Maybe Text)
- cannotAnswer :: Lens' GridCaptcha (Maybe Bool)
Documentation
newtype GridCaptcha Source #
Parameters used to solve a grid captcha.
Instances
Show GridCaptcha Source # | |
Defined in TwoCaptcha.Internal.Types.GridCaptcha showsPrec :: Int -> GridCaptcha -> ShowS # show :: GridCaptcha -> String # showList :: [GridCaptcha] -> ShowS # | |
HasLanguage GridCaptcha Source # | |
Defined in TwoCaptcha.Internal.Types.GridCaptcha language :: Lens' GridCaptcha (Maybe Int) Source # languageCode :: Lens' GridCaptcha (Maybe Text) Source # | |
HasLocalImage GridCaptcha Source # | |
Defined in TwoCaptcha.Internal.Types.GridCaptcha file :: Lens' GridCaptcha (Maybe FilePath) Source # body :: Lens' GridCaptcha (Maybe Text) Source # textInstructions :: Lens' GridCaptcha (Maybe Text) Source # imgInstructions :: Lens' GridCaptcha (Maybe FilePath) Source # | |
HasCommonCaptchaLenses GridCaptcha Source # | |
Defined in TwoCaptcha.Internal.Types.GridCaptcha apiKey :: Lens' GridCaptcha (Maybe Text) Source # headerACAO :: Lens' GridCaptcha (Maybe Bool) Source # | |
HasCaptchaLenses GridCaptcha Source # | |
gridCaptcha :: GridCaptcha Source #
Parameters for solving a grid captcha.
Required parameters:
Optional parameters:
canvas
textInstructions
imgInstructions
reCAPTCHAImage
rows
columns
previousId
cannotAnswer
language
languageCode
headerACAO
pingback
softId
Possible method
values:
- post - defines that you're sending an image with multipart form
- base64 - defines that you're sending a base64 encoded image
Starred required parameter rules:
- file is only required if captcha = "post"
- body is only required if captcha = "base64"
reCAPTCHAImage :: Lens' GridCaptcha (Maybe Bool) Source #
Defines that you're sending a reCAPTCHA as an image.
previousId :: Lens' GridCaptcha (Maybe Text) Source #
Id of your previous request with the same captcha challenge.
cannotAnswer :: Lens' GridCaptcha (Maybe Bool) Source #
Defines if the captcha can potentially have no images, or possibly cannot be answered.