% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/herbs.R
\name{get_herb_compounds}
\alias{get_herb_compounds}
\title{Get compounds for a herb}
\usage{
get_herb_compounds(herb_id, page = 1L, page_size = 20L, all_pages = FALSE)
}
\arguments{
\item{herb_id}{The UniTCM herb ID.}

\item{page}{Page number (default 1).}

\item{page_size}{Results per page (default 20).}

\item{all_pages}{If \code{TRUE}, fetch all pages.}
}
\value{
A \code{\link[tibble:tibble]{tibble::tibble()}} of compounds with attribute \code{"total"}.
}
\description{
List chemical compounds (ingredients) associated with a specific herb.
}
\examples{
\dontrun{
get_herb_compounds("UNITCM_H001")
}
}
