Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 642 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 642 Bytes

[AZcaptcha.com] API

Little wrapper for AZcaptcha.com API

Build Status

Go get

go get github.com/AZcaptcha/AZcaptcha.com

Upload image base64

twocaptcha, _ := captcha.New("yourKey")
captchaID, err := twocaptcha.UploadBase64Image("dHdvY2FwdGNoYQ==")

Polling result

iniAveragePollingTime := 1
pollingTime := 1
solution, err := twocaptcha.PollingCaptchaResponse(captchaID, iniAveragePollingTime, pollingTime)
if err != nil {
t.Errorf("unable to get captcha response: %s", err)
}