% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_colombia_cities.R
\name{get_colombia_cities}
\alias{get_colombia_cities}
\title{Get All Cities of Colombia}
\source{
API Colombia: \url{https://api-colombia.com/api/v1/City}
}
\usage{
get_colombia_cities()
}
\value{
A tibble with the following columns:
\itemize{
  \item \code{id}: City identifier (integer)
  \item \code{name}: City name (character)
}
Returns \code{NULL} if the API request fails.
}
\description{
Retrieves basic information about all cities in Colombia from the API Colombia.
This function fetches only the city ID and name to provide a clean and concise dataset.
}
\details{
This function sends a GET request to the API Colombia service.
If the API request fails or returns an error status code,
the function returns \code{NULL} with an informative message.
}
\note{
Requires internet connection.
}
\examples{
if (interactive()) {
  get_colombia_cities()
}

}
\seealso{
\code{\link[httr]{GET}}, \code{\link[jsonlite]{fromJSON}}, \code{\link[tibble]{tibble}}
}
