Skip to content

Commit 91e3df2

Browse files
Update README.md
1 parent 29df604 commit 91e3df2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The easiest way to quickly integrate the [2Captcha](https://2captcha.com/) captc
2525
- [MTCaptcha](#mtcaptcha)
2626
- [Friendly Captcha](#friendly-captcha)
2727
- [Bounding Box Method](#bounding-box-method)
28+
- [Grid](#grid)
2829
- [Other methods](#other-methods)
2930
- [goodReport](#goodreport)
3031
- [badReport](#badreport)
@@ -462,6 +463,28 @@ solver.boundingBox({
462463
})
463464
```
464465

466+
### Grid
467+
468+
<sup>[API method description.](https://2captcha.com/2captcha-api#grid)</sup>
469+
470+
This method allows to solve any captcha where image can be divided into equal parts like reCAPTCHA V2 or hCaptcha. A grid is applied above the image. And you receive the numbers clicked boxes.
471+
472+
> [!IMPORTANT]
473+
> You must to send instruction `imginstructions` or `textinstructions`.
474+
475+
```js
476+
solver.grid({
477+
body: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAR4AAACwCAIAAAB...",
478+
textinstructions: "Select cars in the image"
479+
})
480+
.then((res) => {
481+
console.log(res);
482+
})
483+
.catch((err) => {
484+
console.log(err);
485+
})
486+
```
487+
465488
## Other methods
466489

467490
### goodReport

0 commit comments

Comments
 (0)