fetchWikipediaTopArticles
Import from: @xbbg/xnews
fetchWikipediaTopArticles(
options?):Promise<WikipediaPageviewRow[]>
Defined in: src/sources/wikipediapageviews.ts (declaration: sources/wikipediapageviews.d.ts:27)
Fetches the requested top-article rows. Resolves an empty list when the day is not published; use wikipediaPageviewsDataSource when the distinction from a published empty day matters, because its fetchRelease resolves undefined for that case.
Parameters
options?
Returns
Promise<WikipediaPageviewRow[]>
