Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /usr/share/php/smarty/Smarty_Compiler.class.php on line 400 Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /usr/share/php/smarty/Smarty_Compiler.class.php on line 400

[ITTAPI] element index

All elements
Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /usr/share/php/smarty/Smarty_Compiler.class.php on line 400
a b c d f g h i l p r t u _
_
top
$_conn
$_response_parser
$_response_type
$_sock
$_userpwd
ImagesToText_Client::$_userpwd in imagestotext.php
ITT account credentials
_call
Makes an API call
_call
Makes an API call
_connect
Opens a socket connection to the API server
_connect
Sets up CURL connection
_is_valid_captcha
Checks if CAPTCHA is valid (not empty)
_load_captcha
_sendrecv
Socket send()/recv() wrapper
__construct
__construct
__construct
a
top
API_VERSION
b
top
BASE_URL
c
top
close
close
close
ImagesToText_Client::close() in imagestotext.php
Closes opened connection (if any), as gracefully as possible
d
top
imagestotext.php
imagestotext.php in imagestotext.php
ImagesToText_AccessDeniedException
Exception to throw on rejected login attemts due to invalid ITT credentials, low balance, or when account being banned.
ImagesToText_Client
ImagesToText_Client in imagestotext.php
Base Images To Text API client
ImagesToText_ClientException
ImagesToText_ClientException in imagestotext.php
Generic exception to throw on API client errors.
ImagesToText_Exception
ImagesToText_Exception in imagestotext.php
Base class for ITT related exceptions.
ImagesToText_HttpClient
ImagesToText_HttpClient in imagestotext.php
Images To Text HTTP API Client
ImagesToText_InvalidCaptchaException
Exception to throw on invalid CAPTCHA image payload: on empty images, on images too big, on non-image payloads.
ImagesToText_IOException
ImagesToText_IOException in imagestotext.php
Exception to throw on network or disk IO failures.
ImagesToText_RuntimeException
ImagesToText_RuntimeException in imagestotext.php
Exception to throw on environment or runtime related failures.
ImagesToText_ServerException
ImagesToText_ServerException in imagestotext.php
Generic exception to throw on API server errors.
ImagesToText_ServiceOverloadException
Exception to throw when service is overloaded.
ImagesToText_SocketClient
ImagesToText_SocketClient in imagestotext.php
Images To Text socket API Client
decode
ImagesToText_Client::decode() in imagestotext.php
Tries to solve CAPTCHA by uploading it and polling for its status/text with arbitrary timeout. See ImagesToText_Client::upload() for $captcha param details.
DEFAULT_TIMEOUT
f
top
FIRST_PORT
g
top
get_balance
Returns user's balance (in US cents)
get_captcha
get_captcha
Returns CAPTCHA details
get_captcha
get_text
Returns CAPTCHA text
get_user
get_user
Returns user details
get_user
h
top
HOST
i
top
$is_verbose
Verbosity flag.
l
top
LAST_PORT
p
top
parse_json_response
Parses JSON encoded response
parse_plain_response
Parses URL query encoded responses
POLLS_INTERVAL
r
top
report
report
report
ImagesToText_Client::report() in imagestotext.php
Reports an incorrectly solved CAPTCHA
t
top
TERMINATOR
u
top
upload
upload
upload
ImagesToText_Client::upload() in imagestotext.php
Uploads a CAPTCHA
a b c d f g h i l p r t u _
Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /usr/share/php/smarty/Smarty_Compiler.class.php on line 400