class OTX::Client
- OTX::Client
- Reference
- Object
Defined in:
otx/client.crConstructors
Instance Method Summary
- #api_key : String
- #api_key=(api_key : String)
-
#indicators_domainname(domain_name : String, section : String = "") : JSON::Any | Nil
takes a string and returns a JSON::Any of the responce address must be a valid ipv4 address section is the seciton of the item.
-
#indicators_filehash(hash : String, section : String = "") : JSON::Any | Nil
hash is the md5 hash of the file
-
#indicators_hostname(host_name : String, section : String = "") : JSON::Any | Nil
takes a string and returns a JSON::Any of the responce address must be a valid ipv4 address section is the seciton of the item.
-
#indicators_ipv4(address : String, section : String = "") : JSON::Any | Nil
takes a string and returns a JSON::Any of the responce address must be a valid ipv4 address section is the seciton of the item.
Constructor Detail
Instance Method Detail
takes a string and returns a JSON::Any of the responce address must be a valid ipv4 address section is the seciton of the item. can be anyting in ["general",reputation,geo,malware,url_list,passive_dns,http_scans ]
hash is the md5 hash of the file
takes a string and returns a JSON::Any of the responce address must be a valid ipv4 address section is the seciton of the item. can be anyting in ["general",reputation,geo,malware,url_list,passive_dns,http_scans ]
takes a string and returns a JSON::Any of the responce address must be a valid ipv4 address section is the seciton of the item. can be anyting in ["general",reputation,geo,malware,url_list,passive_dns,http_scans ]