get_pageviews¶
- WikipediaPage.get_pageviews(fr='200712', to='')¶
Retrieve daily page view statistics from http://stats.grok.se/
Parameters: - fr (string, optional) – Start of the range (minimum is december 2007) represented as yearmonth (%Y%m).
- to (string, optional) –
End of the range represented as yearmonth (%Y%m).
If no end date is given, the current date is used as an end date.
Returns: pageviews – List of page views per day represented as tuples [(day, views),...]
Return type: list