Description Usage Arguments Value Examples
A wrapper function to synthesize API URL(s) for extraction of data. You can then
use get_api_data()
to extract the data.
1 2 3 4 5 6 7 | synthesize_apis(url_body, provider = c("google", "baidu", "gaode",
"ipstack", "ipinfo", "ipify"), api = c("geocode", "revgeocode",
"convcoord", "geohost"), ...)
synthesize_api(url_body, provider = c("google", "baidu", "gaode",
"ipstack", "ipinfo", "ipify"), api = c("geocode", "revgeocode",
"convcoord", "geohost"), ...)
|
url_body |
character, the main body of the caller API. |
provider |
character, 'google', 'baidu', 'gaode', 'ipstack', 'ipinfo', or 'ipify' |
api |
character, 'geocode', 'revgeocode', 'convcoord', or 'geohost' |
... |
other arguments to pass to the function |
A list of API URLs, each of which is a url
object.
1 2 3 4 | ## Not run:
synthesize_apis('https://maps.googleapis.com/maps/api/', 'google', 'geocode')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.