CAPTCHAFORUM
Administrator
imagetyperzapi is a super easy to use bypass captcha API wrapper for imagetyperz.com captcha service
Installation
Dependencies
Simply require the module, set the auth details and start using the captcha service:
Set access_token for authentication:
Once you've set your authentication details, you can start using the API.
Get balance
Solving
For solving a captcha, it's a two step process:
For getting the response, same method is used for all types.
Image captcha
ID received is used to retrieve solution when solved.
Observation It works with URL instead of image file too, but authentication has to be done using token.
Documentation https://githubmemory.com/repo/imagetyperz-api/imagetyperz-api-java
Installation
git clone https://github.com/imagetyperz-api/imagetyperz-api-java
Dependencies
- org.apache.commons.cli
- org.json
Simply require the module, set the auth details and start using the captcha service:
import com.imagetyperzapi.ImageTyperzAPI;
Set access_token for authentication:
ImageTyperzAPI i = new ImageTyperzAPI("your_access_token");
Once you've set your authentication details, you can start using the API.
Get balance
String balance = i.account_balance();
System.out.println(String.format("Balance: %s", balance));
Solving
For solving a captcha, it's a two step process:
- submit captcha details - returns an ID
- use ID to check it's progress - and get solution when solved.
For getting the response, same method is used for all types.
Image captcha
Code:
HashMap<String, String> image_params = new HashMap<String, String>();
// image_params.put("iscase", "true"); // case sensitive captcha
// image_params.put("isphrase", "true"); // text contains at least one space (phrase)
// image_params.put("ismath", "true"); // instructs worker that a math captcha has to be solved
// image_params.put("alphanumeric", "2"); // 1 - digits only, 2 - letters only
// image_params.put("minlength", "1"); // captcha text length (minimum)
// image_params.put("maxlength", "8"); // captcha text length (maximum)
String captcha_id = i.submit_image("/tmp/captcha.jpg", image_params);
ID received is used to retrieve solution when solved.
Observation It works with URL instead of image file too, but authentication has to be done using token.
Documentation https://githubmemory.com/repo/imagetyperz-api/imagetyperz-api-java