It's based on mwclient instead of pywikibot, but I do have some code that uses the checkuserlog API.
https://github.com/roysmith/spi-tools/blob/2080f436d6aeb7d49346241c3dfa356d479b2d19/wiki_interface/wiki.py#L389 <https://github.com/roysmith/spi-tools/blob/2080f436d6aeb7d49346241c3dfa356d479b2d19/wiki_interface/wiki.py#L389> The hardest part was convincing the WMF folks to approve an OAuth consumer with CU rights. Apparently I was the first person to ever ask for that, and nobody knew if they were allowed to approve it or not! > On Feb 23, 2023, at 1:54 PM, Bináris <wikipo...@gmail.com> wrote: > > Folks, do we have anything to use CU/Investigate by bot? > > -- > Bináris > _______________________________________________ > pywikibot mailing list -- pywikibot@lists.wikimedia.org > Public archives at > https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/5JDS74VISDF4L62QEFPPWNRL4FCHVH3P/ > To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org
_______________________________________________ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/IB76EI65GRZNACAX2EA5PY3Y3YEBOLL3/ To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org