Jump to navigation Jump to search
pip install mwapi • docs • source

This library provides a set of basic utilities for interacting with MediaWiki’s “action” API – usually available at /w/api.php. The most salient feature of this library is the mwapi.Session class that provides a connection session that sustains a logged-in user status and provides convenience functions for calling the MediaWiki API. See get() and post().

mwapi.Session provides convenient login() and logout() methods

See also API and w/api.php.