The Wayback Machine - https://web.archive.org/web/20100626072508/http://www.mediawiki.org/wiki/API:Client_code

API:Client code

From MediaWiki.org

Jump to: navigation, search
This page is part of the MediaWiki API documentation.
Language: English  • 日本語 • Русский
MediaWiki API


Contents

Image for: Contents

[edit] API Access Libraries

Image for: [edit] API Access Libraries

Notes to library developers

  • Please use GZip compression when making API calls (Accept-Encoding: gzip).
Bots eat up a lot of bandwidth, which is not free.
Please include your username and wiki or email address.
  • Login has changed (April 2010)
See bugzilla:23076

[edit] Python

[edit] Java

[edit] Javascript

  • JsMwApi A convenience wrapper around raw requests, with some helpers for editing and parsing.
  • mwapilib - A kind of crappy layer overtop of the requests. Make JS gadgets easier.
  • Luasóg - A framework of standard requests (e.g. log in, log out, read, edit, etc.) as well as a general wrapper method. Includes some helpful stuff like throttling. Project includes a rudimentary IDE for off-site development and execution.

[edit] .NET

[edit] Perl

[edit] Ruby

  • RWikiBot - a Ruby framework using the API as released with the most current version of MediaWiki.
  • rbmediawiki - Another Ruby framework that uses the API.

[edit] PHP

There are many PHP frameworks for the api, see here for a full list and comparison of frameworks.

  • SxWiki - a lightweight, simple MediaWiki bot framework.

[edit] See Also