CensysEx.Hosts.diff

You're seeing just the function diff, go back to CensysEx.Hosts module for more information.
Link to this function

diff(ip, ip_b \\ nil, at_time \\ nil, at_time_b \\ nil)

View Source

Specs

diff(String.t(), String.t(), DateTime.t(), DateTime.t()) ::
  {:error, any()} | {:ok, map()}

Hits the Censys Hosts diff API.

Examples

# diff the current host with it self 🤷
CensysEx.Hosts.diff("8.8.8.8")

# diff two hosts
CensysEx.Hosts.diff("8.8.8.8", "1.1.1.1")

# diff a host with itself at a time in the past
CensysEx.Hosts.diff("8.8.8.8", nil, ~U[2021-06-07 12:53:27.450073Z])

# diff two hosts in the past
CensysEx.Hosts.diff("8.8.8.8", "8.8.4.4" ~U[2021-06-07 12:53:27.450073Z], ~U[2021-06-07 12:53:27.450073Z])