Closed rspitler-alien closed 8 years ago
the otx.get() function is an internal function and should not be used in this way. The best way to do what you want in this case is to do the following
otx = OTXv2(my key)
for pulse in otx.getall_iter():
pulse_id = pulse['id']
if pulse_id == "56e96f904637f2285c708f55":
return pulse
Making public record for issue (RS)
trying to write python script, got the following code:
initialize
from OTXv2 import OTXv2 from pandas.io.json import json_normalize from datetime import datetime, timedelta otx = OTXv2(my key) otx.get("http://otx.alienvault.com/pulse/56e96f904637f2285c708f55")
keep getting the following error, no mattar how I format the url:
ValueError Traceback (most recent call last)