++Michael

On 07-Apr-2017, at 3:09 AM, Anandroid Inc <anandrdinc@gmail.com> wrote:

Hi Michael, 

Thanks for your quick response.
This is very helpful, exactly what I was looking for.

Thanks,
Anand

On 07-Apr-2017, at 12:08 AM, Michael Holloway <mholloway@wikimedia.org> wrote:

Hi Anand,

It sounds like the REST API's featured feed endpoint provides what you're looking for.  

For example: https://en.wikipedia.org/api/rest_v1/feed/featured/2017/04/06 (see the content under the "mostread" key).

Under the hood, titles are obtained from the Pageview API and then supplementary information for our desired titles is obtained from the REST API's page summary endpoint.  That would be the easiest way to go if you'd like to go in a slightly different direction from what's provided in our featured feed endpoint.

If you'd like, you can view the implementation for the "mostread" section of our aggregated feed endpoint here:


Please note that as of now the REST API endpoints are officially designated as unstable.

Best,
Michael



On Thu, Apr 6, 2017 at 2:19 PM, Anandroid Inc <anandrdinc@gmail.com> wrote:
Hi Team,

Thanks for the great api provided for all the wiki info.
I am looking for a combination of right parameters which will return me most viewed pages with the page url, article snippet, thumbnail image url.
Hope you can help with this.

Thanks,
Anand
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api