Fetches items from a Monday board with cursor-based pagination using httr2::req_perform_iterative(). Supports all columns or a subset by column IDs.

get_monday_board(
  board_id,
  columns = "all",
  page_limit = 500L,
  api_key = Sys.getenv("MONDAY_API_KEY"),
  timeout = 30,
  max_tries = 5L
)

Arguments

board_id

board id (character recommended)

columns

"all" or a character vector of column IDs to fetch

page_limit

The number of items to allow per paginated request, 500L by default (the max)

api_key

Character scalar. Monday API key. Defaults to Sys.getenv("MONDAY_API_KEY"). Must be a valid "User" or "OAuth" token with access to the requested resources.

timeout

Numeric. Request timeout in seconds for each attempt. Defaults to 30.

max_tries

Integer. Maximum number of attempts when retrying transient failures (HTTP 429 or >=500). Defaults to 5L.

Value

A data frame of items with requested columns