Learn R Programming

whoapi (version 0.1.2)

is_taken: Identify if a Domain is Taken

Description

is_taken identifies if a domain is taken - if it's been reserve or registered.

Usage

is_taken(token, domain, ...)

Arguments

token
a token generated with whoapi_token
domain
a domain name
...
further arguments to pass to httr's GET.

Value

a boolean TRUE or FALSE indicating, respectively, whether the domain is reserved/registered, or not.

See Also

whois_info for more information about a domain's status, including when the registration expires and who has registered it.

Examples

Run this code
#Check if whoapi.com is taken
token <- whoapi_token("demokey")
## Not run: 
# is_taken(token, "whoapi.com")
# ## End(Not run)
#[1] TRUE

Run the code above in your browser using DataLab