class OTX::Client

Defined in:

otx/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_key : String) #

[View source]
def self.new #

[View source]

Instance Method Detail

def api_key : String #

[View source]
def api_key=(api_key : String) #

[View source]
def 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. can be anyting in ["general",reputation,geo,malware,url_list,passive_dns,http_scans ]


[View source]
def indicators_filehash(hash : String, section : String = "") : JSON::Any | Nil #

hash is the md5 hash of the file


[View source]
def 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. can be anyting in ["general",reputation,geo,malware,url_list,passive_dns,http_scans ]


[View source]
def 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. can be anyting in ["general",reputation,geo,malware,url_list,passive_dns,http_scans ]


[View source]