定制 mgocobachi/domaintools 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mgocobachi/domaintools

Composer 安装命令:

composer require mgocobachi/domaintools

包简介

Access to the Domaintools API

README 文档

README

Build Status Latest Stable Version License

DomainTools API

The DomainTools API provides direct access to the same data that drives the powerful research tools on DomainTools.com.

What is DomainTools?

DomainTools helps security analysts turn threat data into threat intelligence. We take indicators from your network, including domains and IPs, and connect them with nearly every active domain on the Internet. Those connections inform risk assessments, help profile attackers, guide online fraud investigations, and map cyber activity to attacker infrastructure.

Endpoints supported

How to use

To use the package is defined a helper function called as 'domantools()', it accept two parameters, the username and the API key. However, if you leave it in blank you will hit the API as anonymous and limited calls.

<?php
$dt = domaintools('myusername', 'my_long_api_key');

Examples

If you like to know the profile information of domaintools.com:

<?php
$profile = domaintools()->profile('domaintools.com');

If you like to know the reputation of domaintools.com (remember, more higher more risk).

<?php
$reputation = domaintools()->reputation('domaintools.com');

If you like to know the results of any term search

In this example we are filtering by those domains active only, and when get the results then, search and filter where char_count is greater than 15.

<?php
$search = domaintools()->search('domain tools', [
  'active_only'   => 'true',
]);

$results = collection($search->results)->filter(function ($result) {
    return $result->char_count > 15;
});

Other example could be applying it immediately.

<?php
$results = collection(domaintools()->search('domain tools', [
  'active_only' => 'true',
])->results)->filter(function ($result) {
    return $result->char_count > 15;
});

More information

For more information please contact domaintols.com about API details or documentation.

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固