Skip to content

druidvav/php-antigate-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Antigate client

Usage examples

<?php
require_once 'vendor/autoload.php';

$client = new NekoWeb\AntigateClient();
$client->setApiKey('--YOUR-KEY--');

// Solve from file
file_put_contents('tmp.jpg', file_get_contents('--CAPTCHA-URL--'));
echo $client->recognizeByFilename('tmp.jpg');

// Solve from URL
echo $client->recognizeByUrl('--CAPTCHA-URL--');

// Return Antigate balance
echo $client->getBalance();

// Return your usage statistics for a date
print_r($client->getStatistic('2014-04-11'));

// Return realtime Antigate statistics
print_r($client->getRealtimeStatistic());

About

Lightweight client for Antigate service

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages