This snippet of code from README.md fails in the google.com portion:
from OTXv2 import OTXv2
otx = OTXv2("API_KEY")
# Get all the indicators associated with a pulse
indicators = otx.get_pulse_indicators("pulse_id")
for indicator in indicators:
print indicator["indicator"] + indicator["type"]
# Get everything OTX knows about google.com
otx.get_indicator_details_full(IndicatorTypes.DOMAIN, "google.com")
This snippet of code from README.md fails in the google.com portion:
Needs the following additional line:
from OTXv2 import IndicatorTypes