Title: | Client for the 'iplookupapi.com' IP Lookup API |
Version: | 0.1.0 |
Description: | An R client for the 'iplookupapi.com' IP Lookup API. The API requires registration of an API key. Basic features are free, some require a paid subscription. You can find the full API documentation at https://iplookupapi.com/docs . |
License: | MIT + file LICENSE |
Encoding: | UTF-8 |
URL: | https://iplookupapi.com, https://iplookupapi.com/docs |
RoxygenNote: | 7.2.3 |
Imports: | httr, jsonlite |
Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0) |
Config/testthat/edition: | 3 |
VignetteBuilder: | knitr |
NeedsCompilation: | no |
Packaged: | 2023-05-09 13:34:14 UTC; andreasaltheimer |
Author: | Dominik Kukacka [aut, cre] |
Maintainer: | Dominik Kukacka <dominik@everapi.com> |
Repository: | CRAN |
Date/Publication: | 2023-05-11 08:50:09 UTC |
Get the current status of the API.
Description
Get the current status of the API.
Usage
get_api_status()
Value
Returns your current quota. Requests to this endpoint do not count against your quota or rate limit.
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)
Arguments
ip |
The IP address you want to query |
language |
An ISO Alpha 2 Language Code for localizing the IP data |
Value
Returns all available information about an IP address.
Iplookupapi API Key
Description
iplookupapi.com requires authentication via an API key. For this package, the API key is saved as a
environmental variable. In interactive mode, using iplookupapi_api_key
will require you to enter an API key. Alternatively, you can also use
Sys.setenv(IPLOOKUPAPI_API_KEY = <key>)
to set the API key manually.
Usage
iplookupapi_api_key(force = FALSE)
Arguments
force |
If |
Value
Returns the set API key that has been stored as an enviroment variable.