get_channel_sections: Get channel sections

View source: R/extended_endpoints.R

get_channel_sectionsR Documentation

Get channel sections

Description

Retrieves channel sections (featured channels, playlists, etc.).

Usage

get_channel_sections(
  channel_id = NULL,
  section_id = NULL,
  part = "snippet,contentDetails",
  simplify = TRUE,
  auth = "key",
  ...
)

Arguments

channel_id

Channel ID

section_id

Specific section ID (optional)

part

Parts to retrieve

simplify

Whether to return a simplified data frame

auth

Authentication method: "token" (OAuth2) or "key" (API key)

...

Additional arguments passed to tuber_GET

Value

List or data frame with channel section information

Examples

## Not run: 
# Get all sections for a channel
sections <- get_channel_sections(channel_id = "UCuAXFkgsw1L7xaCfnd5JJOw")

# Get specific section
section <- get_channel_sections(section_id = "UC_x5XG1OV2P6uZZ5FSM9Ttw.e-Fk7vMeOn4")

## End(Not run)

tuber documentation built on March 25, 2026, 9:08 a.m.