https://github.com/scolib/yescaptcha
https://github.com/scolib/yescaptcha
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/scolib/yescaptcha
- Owner: ScoLib
- License: mit
- Created: 2022-03-09T07:27:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T07:42:01.000Z (over 3 years ago)
- Last Synced: 2025-09-18T17:06:56.386Z (9 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yescaptcha
http://www.yescaptcha.com/
## Install
```sh
npm install yescaptcha
```
## Usage
Recaptcha,
```js
const Captcha = require("yescaptcha")
// A new 'solver' instance with our API key
const solver = new Captcha.Solver("", {
pollingFrequency: 5000,
verbose: false,
baseUrl: 'https://api.yescaptcha.com', // https://china.yescaptcha.com
})
/* Example ReCaptcha Website */
solver.recaptcha('websiteKey', 'websiteURL', {
type: 'NoCaptchaTaskProxyless', // more arg see https://yescaptcha.atlassian.net/wiki/spaces/YESCAPTCHA/overview?homepageId=33020
}).then((res) => {
console.log(res)
})
```