سپورٹ کیے جانے والے ٹاسکس کی اقسام
API طریقہ کار
آرٹیکلز
ٹیوٹوریلز
GitHub
Tutorial pages

Google Enterprise V3 حل کریں

چونکہ V3 Enterprise میں V3 non-Enterprise کے مقابلے میں کوئی اہم فرق نہیں ہیں، لہذا ہم نے فیصلہ کیا ہے کہ V3 ٹاسکس میں ہی اس کی سپورٹ فراہم کی جائے گی۔

V3 Enterprise اور V3 non-Enterprise کے مابین فرق:

  • ویجیٹ کوڈ لوڈ کیا جاتا ہے بذریعہ enterprise.js (vs api.js)
  • صارف کے اسکور کو بازیافت کیا جاتا ہے بذریعہ grecaptcha.enterprise.execute call (vs grecaptcha.execute)

لہذا اپنے Enterprise V3 ٹاسک کو نشان زد کرنے کے لیے آپ کو صرف “isEnterprise” فلیگ شامل کرنے کی ضرورت ہے: آپ کے non-Enterprise V3 پے لوڈ کے مطابق:

درخواست کی مثال

Python
Javascript
PHP
Java
C#
bash
#pip3 install anticaptchaofficial

from anticaptchaofficial.recaptchav3enterpriseproxyless import *

solver = recaptchaV3EnterpriseProxyless()
solver.set_verbose(1)
solver.set_key("YOUR_API_KEY_HERE")
solver.set_website_url("https://website.com")
solver.set_website_key("SITE_KEY")
solver.set_page_action("home_page")
solver.set_min_score(0.9)

# Specify softId to earn 10% commission with your app.
# Get your softId here: https://anti-captcha.com/clients/tools/devcenter
solver.set_soft_id(0)

g_response = solver.solve_and_return_solution()
if g_response != 0:
    print "g-response: "+g_response
else:
    print "task finished with error "+solver.error_code

ٹاسک کے حل کا آبجیکٹ

پراپرٹیقسممقصد
gRecaptchaResponseاسٹرنگٹوکن اسٹرنگ جو مطلوبہ ویب سائٹ پر جمع کروانے کے فارم کے ساتھ تعامل کے لیے درکار ہوتا ہے۔

جواب کی مثال

{
    "errorId":0,
    "status":"ready",
    "solution":
    {
        "gRecaptchaResponse":"3AHJ_VuvYIBNBW5yyv0zRYJ75VkOKvhKj9_xGBJKnQimF72rfoq3Iy-DyGHMwLAo6a3"
    },
    "cost":"0.001500",
    "ip":"46.98.54.221",
    "createTime":1472205564,
    "endTime":1472205570,
    "solveCount":"0"
}