In T358095#9646711, @Gungun_Singh wrote:While using the mviews.api for getting the page views, I'm getting error while fetching the data for some dates. Can you please mention the exact year from which the page views data are provided?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Mar 21 2024
Mar 21 2024
BruceMahagwa added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.
Mar 18 2024
Mar 18 2024
BruceMahagwa added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.
In T358095#9635995, @PromzyBA wrote:
Mar 15 2024
Mar 15 2024
BruceMahagwa added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.
In T358095#9633407, @Mitumoni_kalita wrote:In T358095#9633339, @MahimaSinghal wrote:In T358095#9633326, @Mitumoni_kalita wrote:@MahimaSinghal Can you please help me with how page views API is being used for this task?
Hi @Mitumoni_kalita ,Yeah Sure. I am more than willing to help.
PageViews API will be used in the very first TODO of this microtask. Where you have to use the API to gather pageviews count in the time period each revision was made.
You can refer to the documentation of the API here : mwviews documentation: https://github.com/mediawiki-utilities/python-mwviews.
The above image is of the sample example given in the Notebook on how can we use the API.The function "article_views" under PageviewsClient class already have used the pageviews count API and did all the implementation right to show pageview count of any article in the time period each revision was made ; so I didn't understand what actually we need to do under this TODO of the Microtask ? @MahimaSinghal
Mar 13 2024
Mar 13 2024
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits