knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, comment = "#>") library(iphub)
An interfact to iphub's API https://iphub.info, which looks up IP address and returns basic information along with blocking recommendations.
Install the development version from Github with:
## install remotes pkg if not already if (!requireNamespace("remotes")) { install.packages("remotes") } ## install from github remotes::install_github("mkearney/iphub")
Example
## vector of IP addresses ips <- c("192.0.2.1", "255.255.255.0") ## lookup info iphub(ips)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.