list_: List all elements of a specific endpoint

View source: R/util.R

list_R Documentation

List all elements of a specific endpoint

Description

The underscore is to prevent the function for overwriting the base list() function

Usage

list_(path, credentials)

Arguments

path

The path to the API endpoint, excluding the hub URL (and not starting with a forward slash).

credentials

A credentials object to authenticate with.

Value

depends on the endpoint. Usually a named list with a "results" key containing a list of elements, or a list of elements.


clessn/hubr documentation built on Feb. 15, 2023, 9:32 p.m.