View Source CensysEx.Experimental (censys_ex v2.0.1)
CensysEx wrapper for the search.censys.io v2 "experimental" APIs. NOTE: these APIs are subject to change in the future and CensysEx may get out of sync with Censys
Summary
Functions
Hits the Experimental Censys host events API
Functions
Link to this function
host_events(client, ip, per_page \\ 50, reversed \\ false, start_time \\ nil, end_time \\ nil)
View Source@spec host_events( CensysEx.API.t(), String.t(), integer(), boolean(), DateTime.t() | nil, DateTime.t() | nil ) :: CensysEx.result_stream(map())
Hits the Experimental Censys host events API
Examples
CensysEx.Experimental.host_events("127.0.0.1")
|> Stream.take(25)
|> Stream.map(&Map.get(&1, "_event"))
|> Enum.to_list()
["service_observed", "location_updated", ...]