Download the PHP package ssipak/imagetyperzapi without Composer
On this page you can find all versions of the php package ssipak/imagetyperzapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ssipak/imagetyperzapi
More information about ssipak/imagetyperzapi
Files in ssipak/imagetyperzapi
Package imagetyperzapi
Short Description ImagetyperzAPI PHP is a super easy to use bypass captcha API wrapper for imagetyperz.com captcha service
License MIT
Homepage https://github.com/imagetyperz-api/imagetyperz-api-php
Informations about the package imagetyperzapi
imagetyperz-api-php - Imagetyperz API wrapper
imagetyperzapi is a super easy to use bypass captcha API wrapper for imagetyperz.com captcha service
Installation
composer require imagetyperzapi/imagetyperzapi
or
git clone https://github.com/imagetyperz-api/imagetyperz-api-php
Usage
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:
- submit captcha details - returns an ID
- use ID to check it's progress - and get solution when solved.
Each captcha type has it's own submission method.
For getting the response, same method is used for all types.
Image captcha
ID is used to retrieve solution when solved.
Observation It works with URL instead of image file too.
reCAPTCHA
For recaptcha submission there are two things that are required.
- page_url (required)
- site_key (required)
- type (optional, defaults to 1 if not given)
1
- v22
- invisible3
- v34
- enterprise v25
- enterprise v3
- v3_min_score - minimum score to target for v3 recaptcha
- optional
- v3_action - action parameter to use for v3 recaptcha
- optional
- proxy - proxy to use when solving recaptcha, eg.
12.34.56.78:1234
or12.34.56.78:1234:user:password
- optional
- user_agent - useragent to use when solve recaptcha
- optional
- data-s - extra parameter used in solving recaptcha
- optional
- cookie_input - cookies used in solving reCAPTCHA -
- optional
ID will be used to retrieve the g-response, once workers have completed the captcha. This takes somewhere between 10-80 seconds.
Check Retrieve response
GeeTest
GeeTest is a captcha that requires 3 parameters to be solved:
- domain
- challenge
- gt
- api_server (optional)
The response of this captcha after completion are 3 codes:
- challenge
- validate
- seccode
Important This captcha requires a unique challenge to be sent along with each captcha.
Optionally, you can send proxy and user_agent along.
hCaptcha
Requires page_url and sitekey
Capy
Requires page_url and sitekey
Tiktok
Requires page_url cookie_input
FunCaptcha
Requires page_url, sitekey and s_url
Retrieve response
Regardless of the captcha type (and method) used in submission of the captcha, this method is used right after to check for it's solving status and also get the response once solved.
It requires one parameter, that's the captcha ID gathered from first step.
The response is a JSON object that looks like this:
Other methods/variables
Affiliate id
The constructor accepts a 2nd parameter, as the affiliate id.
Requests timeout
As a 3rd parameter in the constructor, you can specify a timeout for the requests (in seconds)
Set captcha bad
When a captcha was solved wrong by our workers, you can notify the server with it's ID, so we know something went wrong.
Examples
Check root folder for examples, for each type of captcha.
License
API library is licensed under the MIT License
More information
More details about the server-side API can be found here
captcha, bypasscaptcha, decaptcher, decaptcha, 2captcha, deathbycaptcha, anticaptcha, bypassrecaptchav2, bypassnocaptcharecaptcha, bypassinvisiblerecaptcha, captchaservicesforrecaptchav2, recaptchav2captchasolver, googlerecaptchasolver, recaptchasolverphp, recaptchabypassscript
All versions of imagetyperzapi with dependencies
ext-curl Version *