Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions domaintools/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,12 @@ def phisheye(self, query, days_back=None, **kwargs):
return self._results('phisheye', '/v1/phisheye', query=query, days_back=days_back, items_path=('domains', ),
**kwargs)

def phisheye_term_list(self, **kwargs):
def phisheye_term_list(self, include_inactive=False, **kwargs):
"""Provides a list of terms that are set up for this account.
This call is not charged against your API usage limit.

NOTE: The terms must be configured in the PhishEye web interface: https://research.domaintools.com/phisheye.
There is no API call to set up the terms.
"""
return self._results('phisheye_term_list', '/v1/phisheye/term-list', items_path=('terms', ), **kwargs)
return self._results('phisheye_term_list', '/v1/phisheye/term-list', include_inactive=include_inactive,
items_path=('terms', ), **kwargs)
Loading