Package 'ip2whois'

Title: Lookup 'WHOIS' Information for a Particular Domain
Description: Easily implement the checking of 'WHOIS' information for a particular domain. 'IP2WHOIS' supports the query for 1113 Top-level Domains(TLDs) and 634 Country Code Top-level Domains(ccTLDs). To get started with a free API key, you may sign up at here <https://www.ip2whois.com/register>.
Authors: IP2WHOIS [aut, cre]
Maintainer: IP2WHOIS <[email protected]>
License: MIT + file LICENSE
Version: 1.0.0
Built: 2024-11-05 06:51:32 UTC
Source: CRAN

Help Index


Get domain extension (gTLD or ccTLD) from URL or domain name

Description

Get domain extension from a URL or domain.

Usage

get_domain_extension(url)

Arguments

url

The URL or domain.

Value

Return normal domain name in text

Examples

## Not run: 
get_domain_extension("example.com")

## End(Not run)

Get Normat Text from a punycode

Description

Get Normat Text from a punycode for domain name.

Usage

get_normal_text(domain)

Arguments

domain

The punycode domain name

Value

Return normal domain name in text

Examples

## Not run: 
get_normal_text("xn--tst-qla.de")

## End(Not run)

Get Punycode for domain name

Description

Get Punycode for domain name.

Usage

get_punycode(domain)

Arguments

domain

domain name to get punycode for

Value

Return the converted punycode of the domain

Examples

## Not run: 
get_punycode("täst.de")

## End(Not run)

Lookup for WHOIS information

Description

Lookup for a comprehensive of the WHOIS information

Usage

lookup(domain)

Arguments

domain

domain name to lookup for

Value

Return the WHOIS information about the domain

Examples

## Not run: 
lookup("example.com")

## End(Not run)

Lookup for admin information

Description

Lookup for admin information

Usage

lookupAdmin(domain)

Arguments

domain

domain name to lookup for

Value

Return the admin information of the domain

Examples

## Not run: 
lookupAdmin("example.com")

## End(Not run)

Lookup for billing information

Description

Lookup for billing information

Usage

lookupBilling(domain)

Arguments

domain

domain name to lookup for

Value

Return the billing information of the domain

Examples

## Not run: 
lookupBilling("example.com")

## End(Not run)

Lookup for nameservers information

Description

Lookup for nameservers information

Usage

lookupNameservers(domain)

Arguments

domain

domain name to lookup for

Value

Return the nameservers information of the domain

Examples

## Not run: 
lookupNameservers("example.com")

## End(Not run)

Lookup for registrant information

Description

Lookup for registrant information

Usage

lookupRegistrant(domain)

Arguments

domain

domain name to lookup for

Value

Return the registrant information of the domain

Examples

## Not run: 
lookupRegistrant("example.com")

## End(Not run)

Lookup for registrar information

Description

Lookup for registrar information

Usage

lookupRegistrar(domain)

Arguments

domain

domain name to lookup for

Value

Return the registrar information of the domain

Examples

## Not run: 
lookupRegistrar("example.com")

## End(Not run)

Lookup for tech information

Description

Lookup for tech information

Usage

lookupTech(domain)

Arguments

domain

domain name to lookup for

Value

Return the tech information of the domain

Examples

## Not run: 
lookupTech("example.com")

## End(Not run)

Lookup for whois server information

Description

Lookup for whois server information

Usage

lookupWhoisServer(domain)

Arguments

domain

domain name to lookup for

Value

Return the whois server information of the domain

Examples

## Not run: 
lookupWhoisServer("example.com")

## End(Not run)

Set IP2Location.io API key

Description

Set IP2Location.io API key for lookup. Free API key can be obtained from <https://www.ip2location.io/sign-up?ref=1/>

Usage

set_api_key(api_key)

Arguments

api_key

IP2Location.io API key

Value

No return value, called for side effects.

Examples

## Not run: 
set_api_key("YOUR_API_KEY")

## End(Not run)