Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,17 @@ otx.get_indicator_details_full(IndicatorTypes.DOMAIN, "google.com")
Adding content to OTX:
```
from OTXv2 import OTXv2

otx = OTXv2("API_KEY")
name = 'Test Pulse'
name = "Test Pulse"
indicators = [
{'indicator': '69.73.130.198', 'type': 'IPv4'},
{'indicator': 'aoldaily.com', 'type': 'Domain'}
{"indicator": "69.73.130.198", "type": "IPv4"},
{"indicator": "aoldaily.com", "type": "Domain"},
]
response = otx.create_pulse(name=name ,public=True ,indicators=indicators ,tags=[] , references=[])
print str(response)
response = otx.create_pulse(
name=name, public=True, indicators=indicators, tags=[], references=[]
)
print(str(response))
```

Additional Examples:
Expand Down