Skip to content

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? ​

WikipediaPageviewsOptions

Returns ​

Promise<WikipediaPageviewRow[]>

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.