#
ReCaptcha v2 Enterprise
Solve Google reCAPTCHA v2 Enterprise challenges with additional enterprise-specific parameters.
#
Basic usage
import { RecaptchaV2EnterpriseTask } from "node-capmonster"
const client = new RecaptchaV2EnterpriseTask("<api_key>")
const task = client.task({
websiteURL: "https://example.com",
websiteKey: "6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd",
})
const taskId = await client.createWithTask(task)
const result = await client.joinTaskResult(taskId)
console.log(result.gRecaptchaResponse)