reCAPTCHA Mobile Task#
reCAPTCHA Mobile için belirteç tabanlı otomatik çözme yöntemi.
reCAPTCHA Android/reCAPTCHA IOS API'sini atlayın. reCAPTCHA Android çözücü API Belgesi. reCAPTCHA IOS çözücü API Belgesi
Alınan jeton daha sonra g-recaptcha-response form alanı içindeki hedef web sitesine gönderilebilir veya bir geri arama işlevine iletilebilir.
RecaptchaMobileTask Görev nesne yapısı#
isim tip Gerekli Tanım type Sicim Evet RecaptchaMobileTaskProxyless
appPackageName Sicim Evet reCAPTCHA uygulamasının yükleneceği paket adı. Örneğin, com.company.app'i https://www.google.com/recaptcha/api3/mwv isteğinden alabilirsiniz. appKey Sicim Evet ReCAPTCHA uygulamasını yükleme anahtarı, web sürümünün web sitesi anahtarına benzer appAction Sicim Evet Ek parametreler için eylem parametrelerini bulmak üzere grecaptcha.execute'u arayabilirsiniz. appDevice Sicim HAYIR ios | Android
proxyType Sicim Evet Proxy türü: "http", "socks4", "socks5" proxyAddress Sicim Evet Proxy sunucusu IP adresi veya ana bilgisayar adı proxyPort Tamsayı Evet proxy bağlantı noktası proxyLogin Sicim HAYIR Temsilci girişi proxyPassword Sicim HAYIR Temsilci şifresi
Örnek isteyin#
API uç noktası: https://api.nextcaptcha.com/createTask
yöntem: POST
İçerik türü: application/json
{
"clientKey" : "api key" ,
"task" : {
"type" : "ReCaptchaMobileTask" ,
"appPackageName" : "com.company.app" ,
"appKey" : "6LfD3PIbAAAAAJs_eEHvoOl75_83eXSqpPSRFJ_u" ,
"appAction" : "login"
}
}
Yanıt örneği#
{
"errorId" : 0 ,
"status" : "ready" ,
"solution" : {
"gRecaptchaResponse" : "03AGdBq26gJ8v3Z3J9z3..."
},
"createTime" : 1701234567890 ,
"endTime" : 1701234567890
}
Basit kod#
# https://github.com/nextcaptcha/nextcaptcha-python
import os
import sys
from nextcaptcha import NextCaptchaAPI
client_key = os.getenv( 'NEXTCAPTCHA_KEY' , "YOUR_CLIENT_KEY" )
api = NextCaptchaAPI( client_key = client_key)
try :
result = api.recaptcha_mobile( app_key = "app_key" , app_package_name = "app_package_name" , appAction = "appAction" )
except Exception as e:
sys.exit(e)
else :
sys.exit( 'solved: ' + str (result))
// https://github.com/nextcaptcha/nextcaptcha-go
package main
import (
" fmt "
" log "
" github.com/nextcaptcha/nextcaptcha-go "
)
func main () {
api := nextcaptcha. NewNextCaptchaAPI ( "API_KEY" )
result, err := api. RecaptchaMobile ( "https://example.com" , "SITE_KEY" , nextcaptcha . RecaptchaV3Options {})
if err != nil {
log. Fatal (err);
}
fmt. Println ( "result " + result)
}
// https://github.com/nextcaptcha/nextcaptcha-csharp
string clientKey = "YOUR_CLIENT_KEY" ;
string solftId = "" ; // Optional
string callbackUrl = "" ; // Optional
bool openLog = true ; // Optional
var nextCaptchaAPI = new NextCaptchaAPI (clientKey, solftId, callbackUrl, openLog);
string appKey = "YOUR_APP_KEY" ;
string appPackageName = "" ; // Optional
string appAction = "" ; // Optional
var result = await nextCaptchaAPI. SolveRecaptchaMobileAsync (appKey, appPackageName, appAction);
İlgili Bağlantılar#