ipinfo

Collect Metadata on 'IP' Addresses and Autonomous Systems

Description

The 'ipinfo.io' https://ipinfo.io/ service provides an 'API' for retrieving metadata on 'IP' addresses and autonomous systems. Methods are provided to query and retrieve this metadata.

What's Inside The Tin

The following functions are implemented:

Installation

devtools::install_github("hrbrmstr/ipinfo")
options(width=120)
library(dplyr)

Usage

library(ipinfo)

# current verison
packageVersion("ipinfo")

Lookup an IP

str(
  query_ip("1.1.1.1"),
  1
)

Lookup an ASN

I do not have a paid plan for this so I cannot test it

Country iso2c to name mapping

country_trans()

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.



hrbrmstr/ipinfo documentation built on May 3, 2019, 8:59 p.m.