get_ip: Get IP

Description Usage Arguments Value

View source: R/ipify.R

Description

Query the ipify service (https://www.ipify.org) to retrieve this machine's public IP address.

Usage

1
get_ip(max_tries = ipify.env$MAX_TRIES, ...)

Arguments

max_tries

The number of times to retry the ipify service on failure. Defaults to 3.

...

parameter = Format. What you want the service to return. Valid options = c("text", "json", "jsonp")

Value

The public IP address of this machine as a plain text string,


gregce/ipify documentation built on April 13, 2020, 6:52 p.m.