Skip to main content

Python client for Pulsedive API

Project description

A low-level Python client for Pulsedive that aims provide an easy and idiomatic way to interact with the Pulsedive API.

Installation

Install the pulsedive package with pip:

pip install pulsedive

Example use

Simple use-case:

import pulsedive
# pud = pulsedive.Pulsedive('<API KEY>')
pud = pulsedive.Pulsedive()

# Getting a specific indicator
ind = pud.indicator(value='pulsedive.com')
pud.indicator.links(ind['iid'])

# Searching for indicators
pud.search('pulsedive', risk=['high', 'critical'], indicator_type=['ip'])

# Pulling from feeds or threats
pud.feed.links(1)
pud.threat.links(1)

# Searching for threats and feeds
pud.search.threat('Zeus', risk=['high', 'critical'])
pud.search.feed('Zeus')

# Exporting a search
pud.search.to_csv(filename="zues.csv", threat=['Zeus'], indicator_type=['ip'])

# Analyzing
# q = pud.analyze.encoded('Z29vZ2xlLmNvbQ==')
q = pud.analyze('google.com')
pud.analyze.results(q['qid'])

Full documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulsedive-0.1.0.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distributions

pulsedive-0.1.0-py3.6.egg (13.8 kB view hashes)

Uploaded Source

pulsedive-0.1.0-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page