Via https://alexgarcia.xyz/dataflow/examples/wiki-pageviews/ I found this API for retrieving daily pageview stats from Wikipedia for any article:
Example response:
{
"items": [
{
"project": "en.wikipedia",
"article": "Python_(programming_language)",
"granularity": "daily",
"timestamp": "2021010100",
"access": "all-access",
"agent": "user",
"views": 7238
},
{
"project": "en.wikipedia",
"article": "Python_(programming_language)",
"granularity": "daily",
"timestamp": "2021010200",
"access": "all-access",
"agent": "user",
"views": 8449
},
{
"project": "en.wikipedia",
"article": "Python_(programming_language)",
"granularity": "daily",
"timestamp": "2021010300",
"access": "all-access",
"agent": "user",
"views": 8669
}
]
}
Created 2021-05-13T12:26:08-07:00 · Edit