
Get Typical Dishes of Colombia from API Colombia
Source:R/get_colombia_typical_dishes.R
get_colombia_typical_dishes.RdRetrieves information about Colombia's typical dishes from the API Colombia. This function fetches only selected fields: id, name, and description.
Source
API Colombia: https://api-colombia.com/api/v1/TypicalDish
Value
A tibble with the following columns:
id: Dish identifier (integer)name: Dish name (character)description: Dish description (character)
Returns NULL if the API request fails.
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 NULL with an informative message.
Examples
if (interactive()) {
get_colombia_typical_dishes()
}