Get JSON for a resource (URL). Authenticates if necessary

get_resource(zoltar_connection, url, col_types = NULL)

Arguments

zoltar_connection

A ZoltarConnection object as returned by new_connection()

url

A string of the resource's URL

col_types

Same as readr::read_csv takes

Value

A list that contains JSON information for the passed URL