/pythreatgrid

A Python wrapper for the ThreatGrid API

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Build Status

pythreatgrid

A Python wrapper for the ThreatGrid API

Installation

Install via PIP

pip install pythreatgrid

Install from source

git clone https://github.com/RustyBower/pythreatgrid.git
cd pythreatgrid
python setup.py install

Usage

import pythreatgrid
t = pythreatgrid.ThreatGrid(api_key='API_KEY', api_host='API_HOST')
result = t.submit_sample(open('/path/to/executable', 'rb'))