new AbuseIPDB(apiKey)
Parameters:
Name | Type | Description |
---|---|---|
apiKey |
string | AbuseIPDB api key |
Methods
check(ipAddress, maxAgeInDaysopt, verboseopt) → {Promise}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
ipAddress |
string | ipv4 or ipv6 to check | |
maxAgeInDays |
number |
<optional> |
how far back in time to fetch reports |
verbose |
boolean |
<optional> |
if reports array should be returned as well with basic data |
Returns:
- Type
- Promise