paravibe/dnslookup

WhoisXMLAPI DNS 查询的 API 层

1.0 2019-11-06 08:27 UTC

This package is auto-updated.

Last update: 2024-09-06 19:14:18 UTC


README

WhoisXMLAPI DNS 查询 API PHP 封装器

WhoisXMLAPI API 提供简单的封装。

Total Downloads

示例

解析 DNS 记录。

$client = new Client();
$client->setToken($token);

$request = new Request($client);
$request->setQuery(['type' => 'A']);

$response = $request->request($domain);
$data = json_decode($response->getBody(), TRUE);

请注意。此封装器不提供任何自定义异常处理器。