Skip to content

Easy Language

Easy Language (易语言) is a Chinese-language programming language popular in China. These samples were contributed by users and are for reference only; we haven’t reviewed them line by line. They include:

  • reCAPTCHA and hCaptcha clicking (opens a browser, then recognizes and clicks automatically)
  • FunCaptcha image recognition
  • reCAPTCHA token submission

You don’t need the packages to call the API; a web request command with POST is enough:

  1. URL https://api.yescaptcha.com/createTask, method POST, header Content-Type: application/json.
  2. The body is JSON text, for example {"clientKey":"your_client_key","task":{"type":"ImageToTextTaskOcrBase","body":"BASE64_IMAGE"}}.
  3. errorId 0 in the JSON response means success. For asynchronous types, take taskId and post {"clientKey":"…","taskId":"…"} to https://api.yescaptcha.com/getTaskResult every 5 seconds until status is ready.
  4. The image Base64 must not include a data:image/...;base64, prefix or line breaks.

Request and response formats: Requests and responses.

  • “Cannot create browser”: use the browser bundled in the package, uninstall browsers that may conflict, or compile the program before running it.
  • An error code is returned: check the parameters against Error codes.