Skip to content

websupport-sk/iszt-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iszt api

Basic api connector for iszt.hu (official hungarian domain registry).

Latest Stable Version

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 and API_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',
));

About

Simple API wrapper for official .hu domain registry

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages