R/info-endpoint.R

Defines functions gh_get_info

Documented in gh_get_info

#' Get information about the GraphHopper instance
#' @example examples/api-reference/gh-get-info.R
#' @export
gh_get_info <- function() {
  gh_GET(ENDPOINTS$info) %>%
    httr::content() %>%
    set_gh_class("gh_info")
}
crazycapivara/graphhopper-r documentation built on July 19, 2021, 1:16 p.m.