% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ontology_term_class.R
\name{.query_ols_api}
\alias{.query_ols_api}
\title{Query the OLS API for ontology term information}
\usage{
.query_ols_api(obo_id, api_url = "https://www.ebi.ac.uk/ols4/api")
}
\arguments{
\item{obo_id}{(character) The ontology ID in format PREFIX:DIGITS
(e.g., 'STATO:0000046')}

\item{api_url}{(character) The base URL for the OLS API. Default is the
current OLS4 API endpoint. Can be overridden if the API URL changes or
for testing purposes.}
}
\value{
A list with elements:
\describe{
  \item{label}{The term label}
  \item{description}{The term description}
  \item{iri}{The Internationalized Resource Identifier}
}
Returns NULL if the query fails.
}
\description{
Internal helper function to fetch term details from the Ontology Lookup
Service API.
}
\keyword{internal}
