{"library":"passivetotal","title":"PassiveTotal","description":"Python client library for the RiskIQ PassiveTotal and Illuminate API (version 2.5.9). Provides access to passive DNS, WHOIS, SSL certificates, trackers, articles, malware, attack surface intelligence, vulnerability intelligence, and more. Release cadence is irregular with minor bugfix and feature releases.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install passivetotal"],"cli":null},"imports":["from passivetotal import Client","from passivetotal import analyzer","from passivetotal.analyzer import Hostname"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from passivetotal import Client\nfrom passivetotal.analyzer import Hostname\n\n# Credentials: use environment variables or config file\nclient = Client(username=os.environ.get('PT_USERNAME', ''), api_key=os.environ.get('PT_API_KEY', ''))\n\n# Resolve a hostname query\nhostname = Hostname('passivetotal.org', client=client)\nprint(hostname.resolutions)\n","lang":"python","description":"Initialize client with credentials, then query a hostname for passive DNS resolutions.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}