Skip to content

Z-M-Huang/Go2Captcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwoCaptcha

Two Captcha Client

go get github.com/Z-M-Huang/Go2Captcha
import twocaptcha "github.com/Z-M-Huang/Go2Captcha"

captchaClient := &twocaptcha.Client{
  APIKey: "Your 2Captcha API Key",
  Client: &http.Client{},
}

response, err := captchaClient.SolveRecaptchaV2("url", "siteKey")
if err != nil {
  log.Fatal(err)
}