Get all users per API

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Get all users per API

Dennis Roczek
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi everyone,

I need an API request which lists of user names of all users who did an
edit (or upload) within the last 6 months.

Is that somehow possible? Sadly the "Active Users" do not provide a
possibility for a range / starting date. Or is this a configuration
within the LocalSettings?


Regards,

Dennis Roczek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJY+euWAAoJEM4+Qf3OKrbZFo8QAMp9gw53RBPodG1VPZCCfnjf
L6IJnPEuSH1aVPiaPBMoQnEdhN6Eh7TDIpNDxu9AUPv3+ExLCIztqfh9ZhpTxBJ/
DjaLJsLOxYoR4kutXv55shKowuZK2l1zti+4KtwtVknHiT60Mf6pQWti86fwg+eJ
S2OmVuzWZK39zFHTeuXePkWEb80JOO7DNZokvzRjHXYGPvzVymb596ZZB76h4cM9
ah+hdLRAkJOM3iwzl/Av3pj5ECrfbq1hBCDQGuPp2xMWSQkb5tR2NVBbYnf2TCuE
HwR7DqcVxskEgWU1IEVVq3oKIZIqrLAZg9vIJG3/tV3RekSYDDPSdH4P2b4yuC6S
4Qg2MQnnr8Q2TDDhTc8c3q9qRa20FOKQ7IZhi7E6O6oVY64JiAxT+f9MeFQYMAgO
DEsirpxxOr+sXZYp5pBBfQbjdYIKx1Ety/+ab4uXOZVrleNr0U+tcGd3U42GL9DE
1oIaJTT9iGkh483hF8ttPNt+9KwCCOqzWRgYghkD0BftjepOjTlyjYS3RSd0RsEj
QFCegZqKDkTHA2N75IT5GT9pLW5HHgjPUS1XKRdyB4bjVl8Uxb0eR9XDLWOCuXPa
rIkoox8hcYlsMSLjwfW+SZUaPBmQ27dJYtRpTx3RH07acy1jVuuYNgbtaVr9xV4L
IGl4kWjB1ezsiqWqoHcM
=EkcI
-----END PGP SIGNATURE-----

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: Get all users per API

Gergo Tisza
On Fri, Apr 21, 2017 at 1:23 PM, Dennis Roczek <[hidden email]> wrote:
I need an API request which lists of user names of all users who did an
edit (or upload) within the last 6 months.

Is that somehow possible? Sadly the "Active Users" do not provide a
possibility for a range / starting date. Or is this a configuration
within the LocalSettings?

You can just loop through the list of all files/revisions by date and collect usernames. For a more efficient approach, you need to write your own SQL query. For Wikimedia projects, you can useĀ Quarry.

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api