websupport / iszt-api
Simple API wrapper for official .hu domain registry
Installs: 2 091
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 8
Forks: 1
Open Issues: 0
Requires
- php: ~5.3
This package is not auto-updated.
Last update: 2024-10-26 18:59:58 UTC
README
Basic api connector for iszt.hu (official hungarian domain registry).
Installation
ISZT api is composer library so you can install the latest version with:
php composer.phar require websupport/iszt-api
Usage
$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', ));