Learn R Programming

ipbase (version 0.1.1)

get_ip_info: Checks the provided IP address (both v4 & v6 formats) and returns all available information.

Description

Checks the provided IP address (both v4 & v6 formats) and returns all available information.

Usage

get_ip_info(ip = NULL, language = NULL, hostname = NULL)

Value

Returns all available information about an IP address.

Arguments

ip

The IP address you want to query

language

An ISO Alpha 2 Language Code for localizing the IP data

hostname

If the hostname parameter is set to 1, the API response will contain the hostname of the IP