2017 © Pedro Peláez
 

library domaintools

Access to the Domaintools API

image

mgocobachi/domaintools

Access to the Domaintools API

  • Monday, March 6, 2017
  • by mgocobachi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Build Status Latest Stable Version License , (*1)

DomainTools API

The DomainTools API provides direct access to the same data that drives the powerful research tools on DomainTools.com., (*2)

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., (*3)

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., (*4)

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

Examples

If you like to know the profile information of domaintools.com:, (*5)

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

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

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

If you like to know the results of any term search, (*7)

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., (*8)

<?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., (*9)

<?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., (*10)

The Versions

06/03 2017

dev-master

9999999-dev

Access to the Domaintools API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Miguel Gocobachi

api domain php security monitor tool whois intelligence domaintools analysts threat

26/02 2017

v1.0.0

1.0.0.0

Domaintools PHP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Miguel Gocobachi