https://github.com/ColinFay/wtfismyip
A simple, dependency free wrapper around wtfismyip
https://github.com/ColinFay/wtfismyip
Last synced: 3 months ago
JSON representation
A simple, dependency free wrapper around wtfismyip
- Host: GitHub
- URL: https://github.com/ColinFay/wtfismyip
- Owner: ColinFay
- License: other
- Created: 2017-11-03T19:55:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-03T20:48:02.000Z (over 7 years ago)
- Last Synced: 2024-08-13T07:15:35.777Z (6 months ago)
- Language: R
- Size: 3.91 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - ColinFay/wtfismyip - A simple, dependency free wrapper around wtfismyip (R)
README
---
output:
md_document:
variant: markdown_github
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```# wtfismyip
A simple, dependency free wrapper around [wtfismyip](https://wtfismyip.com/).
## How to
Just :
```{r results='hide'}
wtfismyip::wtfismyip()
```## Get verbose
If you want the function to get verbose :
```{r results='hide'}
wtfismyip::wtfismyip(verbose = TRUE)
```Returns you a dataframe with :
+ IP Address
+ Location
+ Hostname
+ ISP
+ TorExit
+ Country code## Get polite
If you don't want to know what is YourFuckingIPAddress but simply what is your IPAddress, pass the `polite = TRUE` argument :
```{r results='hide'}
wtfismyip::wtfismyip(verbose = TRUE, polite = TRUE)
```### Contact
Questions and feedbacks [welcome](mailto:[email protected])!
You want to contribute ? Open a [PR](https://github.com/ColinFay/wtfismyip/pulls) :) If you encounter a bug or want to suggest an enhancement, please [open an issue](https://github.com/ColinFay/wtfismyip/issues).