Skip to content

gregce/ipify

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Get your public ip address πŸ“‘ w/ Rlang

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages