myip: Wrapper function for getting your IP address

Description Usage Arguments Value

Description

Wrapper function for getting your IP address

Usage

1
2
3
4
5
myip(select = c("random", "all", "akamai", "amazon", "httpbin",
  "icanhazip", "ipecho", "ipinfo", "opendns"))

ip_external(select = c("random", "all", "akamai", "amazon", "httpbin",
  "icanhazip", "ipecho", "ipinfo", "opendns"))

Arguments

select

if random a random service will be chosen to determine your external IP address. If all is used then every service will be checked (NOTE this can take a while). Otherwise, the selected service will be used.

Value

a list classed as myip with two slots (ipv4 & ipv6) which will NULL if the value was not returned from the service(s). If all was used, then a list of lists


hrbrmstr/myip documentation built on May 17, 2019, 5:11 p.m.