A python3 interface with MediaWiki's API
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
has_new_messages.py
mw.py
settings.py

README.md

supersimplemediawiki

By en:User:Legoktm. Released under the terms of the MIT License.

  • Only requirement is requests
  • Supports any wiki with an api.php

Usage

import mw
enwp = mw.Wiki('http://en.wikipedia.org/w/api.php')
enwp.login('username','password')
enwp.request({'action':'query'}) #etc...