-
Notifications
You must be signed in to change notification settings - Fork 2
/
readme.Rmd
42 lines (26 loc) · 966 Bytes
/
readme.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
output: github_document
---
ipify [![Travis-CI Build Status](https://travis-ci.org/gregce/ipify.svg?branch=master)](https://travis-ci.org/gregce/ipify) [![Coverage Status](https://coveralls.io/repos/github/gregce/ipify/badge.svg?branch=master)](https://coveralls.io/github/gregce/ipify?branch=master)
-------------
> Get your public IP
Using the [`ipify` API](https://www.ipify.org) by [Rdegges](https://github.com/rdegges)
Installation and Documentation
------------
You can install the R `ipify` package using [devtools](https://github.com/hadley/devtools):
```
library(devtools)
install_github("gregce/ipify")
```
Usage
------------
You can see the package in action at http://gregce.github.io/ipify/
```{r, results='hold', message=FALSE}
library(ipify)
get_ip()
get_ip(format="json")
get_ip(format="jsonp")
```
License
-------------
[MIT](https://opensource.org/licenses/MIT) @ [Greg Ceccarelli](https://www.linkedin.com/in/gregceccarelli)