Skip to contents

News articles in one language. The API answered an empty list on every probe, so this raises hoopR_no_data.

Endpoint: GET https://api.data.cebl.ca/news/articles/{language}/

Usage

cebl_news(language, team_source_id = NULL)

Arguments

language

(required) Language code, e.g. en; every language tried answered an empty list.

team_source_id

(default NULL) CEBL team id: only that team's articles.

Value

A hoopR_data tibble: News articles in one language. The API answered an empty list on every probe, so this raises hoopR_no_data. An empty valid answer raises hoopR_no_data; the columns are always these, in this order (sportsdataverse-py cebl_news):

col_nametypedescription
news_idintegerCEBL news article id; null when the API gives none. Unobserved: the route answered an empty list on every probe.
languagecharacterLanguage code of the request ('en'); the body does not echo it.
titlecharacterArticle headline (upstream schema; unobserved, the route answered an empty list on every probe).
published_at_utcPOSIXctPublication time in UTC (upstream schema; unobserved, no article was ever served).
image_urlcharacterArticle image URL (upstream schema; unobserved, no article was ever served).
html_contentcharacterArticle body as HTML (upstream schema; unobserved, no article was ever served).

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in cebl_seasons().

 cebl_news(language = "en")