Skip to content
Get your public ip address 📡 w/ Rlang
R
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
docs
man
tests
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE
readme.Rmd
readme.md

readme.md

ipify Travis-CI Build Status Coverage Status

Get your public IP

Using the ipify API by Rdegges

Installation and Documentation

ipify is available through both CRAN and GitHub:

To install the CRAN version:

install.packages("ipify")

To install the latest development version from GitHub:

install.packages("devtools")
devtools::install_github("gregce/ipify")

Usage

You can see the package in action at http://gregce.github.io/ipify/

library(ipify)
get_ip()
get_ip(format="json")
get_ip(format="jsonp")
## [1] "73.162.222.85"
## $ip
## [1] "73.162.222.85"
## 
## [1] "callback({\"ip\":\"73.162.222.85\"});"

License

MIT @ Greg Ceccarelli

You can’t perform that action at this time.