knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, comment = "#>")
library(iphub)

iphub

lifecycle

An interfact to iphub's API https://iphub.info, which looks up IP address and returns basic information along with blocking recommendations.

Installation

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")

Use

Example

## vector of IP addresses
ips <- c("192.0.2.1", "255.255.255.0")

## lookup info
iphub(ips)


mkearney/iphub documentation built on May 13, 2019, 5:24 p.m.