Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.25 KB

README.rst

File metadata and controls

51 lines (35 loc) · 1.25 KB

Signal Sciences

Latest Version https://travis-ci.org/foospidy/pysigsci.svg?branch=master

pysigsci is a Python wrapper and CLI tool for the Signal Sciences REST API.

Installation

$ pip install pysigsci

CLI usage

$ pysigsci --get requests

To see all options run: $ pysigsci --help

CLI configuration audit tool

$ pysigscia --get-config
$ pysigscia --compare site1 --to site2

To see all options run: $ pysigscia --help

Module usage

from pysigsci import sigsciapi
sigsci = sigsciapi.SigSciApi(email="myemail", password="mypassword")
sigsci.corp = "mycorp"
sigsci.site = "mysite"

params = {"q": "from:-1d tag:XSS"}
print(sigsci.get_requests(parameters=params))

More details and the latest updates can be found on the GitHub Project Page.