% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/report_helpers.R
\name{get_top_videos}
\alias{get_top_videos}
\title{Get top videos report}
\usage{
get_top_videos(
  date_range,
  end_date = NULL,
  ids = "channel==MINE",
  max_results = 10,
  metrics = c("views", "likes", "comments"),
  ...
)
}
\arguments{
\item{date_range}{Date range string or start date}

\item{end_date}{End date (only needed if date_range is a specific start date)}

\item{ids}{Channel identifier (default: "channel==MINE")}

\item{max_results}{Number of top videos to return (default: 10)}

\item{metrics}{Vector of metrics to include (default: views, likes, comments)}

\item{...}{Additional arguments passed to get_report()}
}
\value{
API response with top videos data
}
\description{
Retrieves performance metrics for individual videos, sorted by views.
}
\examples{
\dontrun{
# Top 10 videos by views in last 30 days
get_top_videos("last_30_days")

# Top 25 videos with more metrics
get_top_videos("this_month", max_results = 25, 
               metrics = c("views", "likes", "comments", "shares", "estimatedMinutesWatched"))
}
}
