Shodan::Host
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
area_code
Sourcearea_code=(area_code : String | Nil)
Sourcecity
Sourcecity=(city : String | Nil)
Sourcecountry_name
Sourcecountry_name=(country_name : String | Nil)
Sourcedma_code
Sourcedma_code=(dma_code : Int32 | Nil)
Sourcedomains
Sourcedomains=(domains : Array(String) | Nil)
Sourceip_str
Sourceip_str=(ip_str : String | Nil)
Sourcelatitude
Sourcelatitude=(latitude : Float64 | Nil)
Sourcelongitude
Sourcelongitude=(longitude : Float64 | Nil)
Sourceorg
Sourceorg=(org : String | Nil)
Sourceports
Sourceports=(ports : Array(Int32))
Sourcepostal_code
Sourcepostal_code=(postal_code : String | Nil)
Sourceregion_code
Sourceregion_code=(region_code : String | Nil)
Source