<commit_before># threat_intel
Threat Intelligence APIs (alpha).


===============  ================
    master           develop
===============  ================
|master-status|  |develop-status|
===============  ================

.. |master-status| image:: https://travis-ci.org/Yelp/threat_intel.svg?branch=master
    :target: https://travis-ci.org/Yelp/pyleus

.. |develop-status| image:: https://travis-ci.org/Yelp/threat_intel.svg?branch=develop
    :target: https://travis-ci.org/Yelp/pyleus

[![Build Status](https://travis-ci.org/Yelp/threat_intel.svg?branch=master)](https://travis-ci.org/Yelp/threat_intel)
[![Build Status](https://travis-ci.org/Yelp/threat_intel.svg?branch=develop)](https://travis-ci.org/Yelp/threat_intel)

## Supported threat intelligence feeds

The package contains API wrappers for:
* OpenDNS Investigate API
* VirusTotal API v2.0
* ShadowServer API


### OpenDNS Investigate API

[OpenDNS Investigate](https://investigate.opendns.com/) provides an API that
allows querying for:
* Domain categorization
* Security information about a domain
* Related domains (cooccurrences)
* Domains related to an IP

To use the Investigate API wrapper import `InvestigateApi` class from `threat_intel.opendns` module:

```python
from threat_intel.opendns import InvestigateApi
```<commit_msg>Add develop branch to travisci<commit_after># threat_intel
Threat Intelligence APIs (alpha).



[![Build Status: master](https://travis-ci.org/Yelp/threat_intel.svg?branch=master)](https://travis-ci.org/Yelp/threat_intel)
[![Build Status: develop](https://travis-ci.org/Yelp/threat_intel.svg?branch=develop)](https://travis-ci.org/Yelp/threat_intel)

## Supported threat intelligence feeds

The package contains API wrappers for:
* OpenDNS Investigate API
* VirusTotal API v2.0
* ShadowServer API


### OpenDNS Investigate API

[OpenDNS Investigate](https://investigate.opendns.com/) provides an API that
allows querying for:
* Domain categorization
* Security information about a domain
* Related domains (cooccurrences)
* Domains related to an IP

To use the Investigate API wrapper import `InvestigateApi` class from `threat_intel.opendns` module:

```python
from threat_intel.opendns import InvestigateApi
```
{'fraction_non_alphanumeric': 0.15775280898876404, 'fraction_numerical': 0.0017977528089887641, 'mean_word_length': 5.489795918367347, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1106049', 'n_tokens_mistral': 735, 'n_tokens_neox': 682, 'n_words': 164}