Skip to content

pberba/pulsedive-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Pulsedive Client

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.

About

A low-level Python client for Pulsedive API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages