Description Usage Arguments Value Note References Examples
Working function for synthesize_api()
. It will call
lower functions synthesize_ipinfo_api_geohost()
.
1 2 3 4 | synthesize_ipinfo_api(url_body, api = c("geohost"), use_curl = FALSE,
...)
synthesize_ipinfo_api_geohost(url_body, use_curl = FALSE, ...)
|
url_body |
character, the leading argument in the API URL. |
api |
character, 'geohost'. |
use_curl |
logical, whether use |
... |
other arguments to pass to the function, e.g., |
A url
object for get_api_data()
use.
When key
is omitted or set NULL, the function will search for it
in the cache. If nothing is found, a GUI wizard will be launched for you to
input the API key. If you want to bypass API key, set key
= NA.
ipinfo API documentation: https://ipinfo.io/developers
1 2 3 4 | ## Not run:
synthesize_ipinfo_api("<IP Address>", key="<YOUR IPINFO KEY>")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.