R/api-utils.R

Defines functions get_api_call

# API utilities

get_api_call <- function(apicall) {

  return(
    httr::content(httr::GET(apicall))
  )
}
anthonyshook/nhldata documentation built on Feb. 22, 2021, 3:51 a.m.