whois-server-list/whois-api
Composer 安装命令:
composer require whois-server-list/whois-api
包简介
Client library for the Whois API. You can check the availability of internet domain names or perform whois queries.
README 文档
README
This is a client library for the Whois API service. With this API you can
- Check if a domain name is available
- Get its whois data or query an arbitrary whois server
- Don't worry about rate limits on the respective whois server
The service supports all domains of the Whois Server list, which is more than 500 top level domains.
Installation
Use Composer:
composer require whois-server-list/whois-api
Usage
You'll need an api key to use this library. Get one from the Whois API.
$whoisApi = new whoisServerList\WhoisApi("apiKey");
WhoisApi::isAvailable()checks if a domain name is available.WhoisApi::areAvailable()checks multiple domain names if they are available.WhoisApi::whois()returns the whois data of a domain.WhoisApi::query()queries an arbitrary whois server.WhoisApi::domains()Lists all top and second level domains which can be used by the Whois API.
Example
$whoisApi = new whoisServerList\WhoisApi("apiKey"); echo $whoisApi->isAvailable("example.net") ? "available" : "registered";
License and authors
This project is free and under the WTFPL. Responsable for this project is Markus Malkusch markus@malkusch.de.
统计信息
- 总下载量: 1.73k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 32
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: WTFPL
- 更新时间: 2016-03-06