Basic api connector for iszt.hu (official hungarian domain registry).
ISZT api is composer library so you can install the latest version with:
php composer.phar require websupport/iszt-api
$api = new Websupport\Iszt\Connector('username', 'password');
var_dump($api->domainInfo('domain.hu'));
Few addiotional configuration options can passed to constructor as third (array) argument:
- url - address of api (see also class' constants
API_URL_LIVE
andAPI_URL_TRYOUT
) - keyPath - Location of stored gnupg keys
- keyId - Which gnupg key to use for signing request
- passphrase - Password for that key
- proxy - proxy url to use for connecting to API
- proxyAuth - proxy authentication data
"username:password"
- timeout - default timeout for connection requests (defaults to 30 seconds)
- nsServer - NS server to use
$api = new Websupport\Iszt\Connector('username', 'password', array(
'url' => Websupport\Iszt\Connector::API_URL_TRYOUT,
'nsServer' => 'ns1.websupport.sk',
));