At left of articles there is a page information link, which shows recent page views on a diagram. Can I get these page views numerically by Pywikibot?
Click https://hu.wikipedia.org/w/index.php?title=Erfurti_latrinabaleset&action... Ctrl F "Megtekintések száma az elmúlt 30 napban" Click on the number next to it Gives pop-up diagram
Hey,
You're talking about https://m.mediawiki.org/wiki/Extension:PageViewInfo
AFAIK pwb does not have a high level api for this, but I'm sure you can get the data using the data API or requests directly. https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.data.html#modul...
One thing to keep in mind is that, depending on your use case, you might prefer the Wikimedia pageviews api https://wikimedia.org/api/rest_v1/#/Pageviews%20data This gives you some aggregations on the same data vs the individual data you get from the extension.
Strainu
Pe duminică, 18 decembrie 2022, Bináris wikiposta@gmail.com a scris:
Click
https://hu.wikipedia.org/w/index.php?title=Erfurti_latrinabaleset&action...
Ctrl F "Megtekintések száma az elmúlt 30 napban" Click on the number next to it Gives pop-up diagram