Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A python3 interface with MediaWiki's API
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md Initial import
has_new_messages.py
mw.py Continue even with no cookies
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...
Something went wrong with that request. Please try again.