R/discovery.R

Defines functions o311_discovery

Documented in o311_discovery

#' API discovery
#' @description
#' Retrieve discovery information about the mounted endpoint.
#'
#' @return A list containing details on the given open311 API.
#'
#' @export
#'
#' @examples
#' o311_api("zurich")
#' \donttest{
#' if (o311_ok()) {
#'   o311_discovery()
#' }
#' }
o311_discovery <- function() {
  o311_query(path = "discovery", simplify = FALSE)
}

Try the r311 package in your browser

Any scripts or data that you put into this service are public.

r311 documentation built on April 15, 2025, 1:12 a.m.