Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

API:Client code/All

From mediawiki.org
<API:Client code
This page is part of theMediaWiki Action API documentation.
MediaWiki Action API
Basics
Authentication
Accounts and Users
Page Operations
Search
Developer Utilities
Tutorials
v·d·e
For recommended client libraries, see:API:Client code.

This page contains a set of lists, by programming language, of all known client libraries that can be used with the MediaWiki Action API.

API client libraries

[edit]
Dates and version numbers were last updated on 2019-06-19.
Evaluation for inclusion inrecommended client libraries was last done on 2019-06-19.

Awk

[edit]
NameDescriptionLast releaseRelease DateLast activity
BotWikiAwkFramework and libraries for creating bots. Includes example bots.0.612024-01-162024-01-16
WikigetAwk CLI program to interface with MediaWiki API for read/write including OAuth.1.192021-12-182021-12-18

C++

[edit]
NameDescriptionLast releaseRelease DateLast activity
libmediawiki.C++ interface for MediaWiki-based web services such as Wikipedia.5.38.02022-08-262022-08-26

Common Lisp

[edit]
NameDescriptionLast releaseRelease DateLast activity
cl-mediawikiA Common Lisp wrapper for the Mediawiki API.2016-11-102016-11-10

Elixir

[edit]
NameDescriptionLast releaseRelease DateLast activity
mediawiki_clientDocumentationAdapter for the Action API, EventStreams, and ORES.0.4.12022-12-202022-12-21

Go

[edit]
NameDescriptionLast releaseRelease DateLast activity
go-mediawikiGo wrapper for the MediaWiki API.v0.12013-11-042017-02-08
go-mwclientWrapper for the MediaWiki API (supports maxlag, query continuations, OAuth).1.2.02020-07-032020-07-03

Haskell

[edit]
NameDescriptionLast releaseRelease DateLast activity
haskell mediawikiA complete Haskell binding to the MediaWiki API letting you programmatically access (read and write) MediaWiki content.0.2.620 Nov 201320 Nov 2013

Java

[edit]
NameDescriptionLast releaseRelease DateLast activity
Bliki EngineCan convert wikicode to HTML, DocBook or PDF. Has ahelper library for API calls27 Apr 2019
dkpro-jwpl Java Wikipedia LibraryFacilitates access to all information in Wikipedia.1.1.026 Apr 201610 Oct 2018
dkpro-jwktl Java Wiktionary Library.Enables efficient and structured access to the information encoded in the English and German Wiktionary language.1.1.029 Apr 201615 Apr 2019
JavaWikiBotFrameworkA library to retrieve data from and maintain MediaWiki-based wikis such as Wikipedia.4.0.013 Sep 201615 Feb 2019
jwikiA library for effortlessly interacting with Wikipedia/MediaWiki.1.8.014 Apr 20206 May 2020
KasparFramework for editing MediaWiki wikis.0.218 Jul 201514 Jan 2016
Mediawiki-JapiAn API for the MediaWiki web API.0.1.0320 Mar 201920 Mar 2019
Wiki.javaA MediaWiki bot framework.0.368 Feb 201919 Jun 2019
Wikidata ToolkitA library with functions to process data from Wikidata and other Wikibase sites, via XML dumps or the API. For more info, seeWikidata Toolkit.0.10.012 Jun 201914 Jun 2019
WPCleanerWPCleaner is a tool designed to help with various maintenance tasks on wikis run with MediaWiki software.21 Jun 2019

JavaScript

[edit]
NameDescriptionLast releaseRelease DateLast activity
wikidata-sdk (Node.js)Wikidata SDK is a javascript toolkit for querying Wikidata.org and simplify its results.v7.0.85 Jun 20192 Jun 2019
mwbot (Node.js)MWBot uses the Promise pattern and other ES6 methodologies, optimised for creating bots that make edits. Works with any MediaWiki site.v1.0.1030 Oct 201720 Feb 2019
mwbot-ts (Node.js)mwbot-ts features a flexible core class and an offline wikitext parser that handles even edge-case wiki markup.v1.2.5
mwn (Node.js)Mwn provides comprehensive high-level bindings leveraging latest JS features (such as asynchronous generators for supporting query continuation).v3.0.131 Mar 20256 Apr 2025
wikijs (Node.js)WikiJs provides a high-level interface for editing, querying and searching through the API. Works with any MediaWiki site.v4.11.16 Jan 201912 Jun 2019
nodemw (Node.js)A generic MediaWiki API client for Node.js.v0.13.012 Apr 202019 Oct 2020
mediawiki (Node.js)This JavaScript framework provides methods for common use cases (e.g. log in, read, edit, etc.) as well as a generic API client. Includes handling for rate throttling.2 Jul 2014
mediawiki-js (browser)Ultra-light, vanilla JavaScript wrapper of Mediawiki API for use in the browser (npm).5 Jun 2018
CeJS (Node.js, browser)A JavaScript framework includingMediaWiki functions to build bots, running on Node.js and in the browser. SeeWikipedia bot examples.2.0.028 Oct 201522 Jun 2019
mediawiki.api (browser)Generic MediaWiki API client for client-side JavaScript. It ships with MediaWiki core as a ResourceLoader module bundle. It abstracts some high-level concepts and provides a generic client for other queries.Maintained as part of MediaWiki.
m3api (Node.js, browser)Minimal, modern MediaWiki API client; minimal = direct interaction with API (noCRUD abstractions), modern = promises etc.1.0.0

In-wiki JavaScript clients:

NameDescriptionLast releaseRelease DateLast activity
mwapilib2A layer overtop of the requests. Make JS gadgets easier.25 Sep 2016
JsMwApiA convenience wrapper around raw requests, with some helpers for editing and parsing.11 Jun 2014

Lua

[edit]
NameDescriptionLast releaseRelease DateLast activity
mediawikiapiMakes query (tokens, userinfo), clientlogin, upload, and logout calls. It handles HTTPS requests and cookies and can be used to upload files to Wikimedia Commons.20 Sep 2018

MATLAB

[edit]
NameDescriptionLast releaseRelease DateLast activity
MatWikiA preliminary (as of Feb 2019) MATLAB R2016b(9.1.x) client supporting just bot-logins & semantic #ask queries.v1.0.019 Feb 201919 Feb 2019

.NET

[edit]
NameDescriptionLast releaseRelease DateLast activity
AutoWikiBrowser'sWikiFunctions library has classes for editing and getting lists of pages via the API.6.0.0.115 Sep 201816 Jun 2019
DotNetWikiBot FrameworkWritten in C#, based on Microsoft® .NET Framework 3.5 (Tutorial).16 Feb 2016
MorebitsDotNetContains C# code for uploading files through the API.15 Feb 2016
LinqToWikiStrongly typed library for accessing most of MediaWiki API, with support for autocompletion.1.5.07 May 20157 May 2015
WikiClientLibraryA .NET Standard & asynchronous MediaWiki API client library for wiki sites. The library also supports Flow/Wikibase/Wikia-specific API.v0.7.0-int.226 May 201931 May 2019

OCaml

[edit]
NameDescriptionLast releaseRelease DateLast activity
ocaml-mediawikiA high-level binding for the MediaWiki API written in OCaml.29 Aug 2012

Perl

[edit]
NameDescriptionLast releaseRelease DateLast activity
MediaWiki::BotA higher-level Perl module with read and write functions. Easily extensible with plugins, for exampleto provide administrator functions (Evaluation).

source code on Github.

5.0060037 Jul 20167 Jul 2016
MediaWiki::APIA Perl module for interfacing with the MediaWiki API with file upload/download and editing support. (Debian package). (Evaluation).0.4113 Nov 201513 Nov 2015

PHP

[edit]
NameDescriptionLast releaseRelease DateLast activity
EasyWikiFriendly PHP client for the MediaWiki Action API.v224 Jul 202215 Jan 2024
boz-mwAlso support image upload and read/write in Wikibase/Wikidata. Inline documentation.1.0.028 Jan 202026 May 2022
mediawiki-apiA simple library for interacting with the MediaWiki API.3.0.020 Nov 20173 Jun 2022
mediawiki-api-baseLibrary for basicMediaWiki api use.3.0.02 Nov 20173 Jun 2022
wikibase-apiLibrary for queryingWikidata.3.0.04 Jul 20163 Jun 2022
WikimateGets and edits MediaWiki pages; uploads/downloads files and gets properties.1.1.030 Jul 202324 Jun 2024
MediaWiki_ApiA simple PHP curl based API wrapper with basic functionality. Almost completely undocumented.1.0.021 Jun 201813 Sep 2019
wikidrainA wrapper for the WikiMedia API centralized around easily and simply querying Wikipedia articles.N/AN/A15 Apr 2016

There are many PHP frameworks for the API. See thisfeature comparison table on Wikipedia for more details on some of the available options.

Python

[edit]
NameDescriptionLast releaseRelease DateLast activity
PywikibotA collection of python scripts and a powerful library for bot writing. (Git repository) (#pywikibotconnect) (Evaluation).10.2.0
mwclientPython library that makes most of the API functions accessible. Last release: v0.9.3, November 2018. (PyPI) (Evaluation).0.9.323 Nov 201810 Jun 2019
pwikiA Python library for developing bots/tools, focused on ease of use and simplicity.1.1.115 Oct 202128 May 2022
Wikipedia-APIEasy to use Python 3 library. Provides read-only API.0.5.426 Jan 202026 Jan 2020
ceterachPython3 library, fully PEP8 compliant.14 Dec 2018
wptoolsWikipedia tools (for Humans). Read-only API.v0.4.1717 Aug 201817 Aug 2018
wiki-scriptsFramework for writing bots, maintenance scripts or performing data analysis.1.231 Dec 201713 Jun 2019
Pattern (GitHub)Web mining module, has classes for handling MediaWiki API requests, handles continuations.2.68 Jul 201318 Aug 2018

Simple Python wrappers for no-abstraction interfaces to the MediaWiki API and basic session handling:

NameDescriptionLast releaseRelease DateLast activity
pywikiapiA minimalistic library that handles some of the core MediaWiki API complexities like handling continuations, login, errors, and warnings, but does not impose any additional abstraction layers.1.3.213 Apr 201913 Apr 2019
simplemediawikiPython 2.6+ and 3.3+ compatible.Docs. Last updated in March 2017. (PyPI) (Evaluation)1.2.0b212 Aug 201316 Mar 2017
python-mwapiSimple Python Wrapper around MediaWiki APIv0.5.015 Sep 201518 May 2019
async_mediawikiAn asynchronous python libary to get mediawiki content0.2.031 Oct 201828 Mar 2019
analytics-zero-sms21 Oct 2015
mwstreamingA collection of scripts and utilities to support the stream-processing of MediaWiki data.0.5515 Apr 201515 Apr 2015
WikipediaA Python library that makes it easy to access and parse data from Wikipedia.v1.124 Dec 201311 Nov 2016
wikitoolsProvides several layers of abstraction around the API. Doesn't support Python 3.0.417 Jun 201528 Aug 2016

R

[edit]
NameDescriptionLast releaseRelease DateLast activity
WikipediRA wrapper for the MediaWiki API, aimed particularly at the Wikimedia 'production' wikis, such as Wikipedia. Can be used to retrieve page text, information about users or the history of pages, and elements of the category tree.1.5.015 Feb 201715 Feb 2017

Ruby

[edit]
NameDescriptionLast releaseRelease DateLast activity
Mediawiki Ruby APIRuby API client library in active development byWikimedia Foundation Release Engineering.0.7131 Jan 20175 Dec 2017
MediaWiki::GatewayRuby framework for the API.v1.1.05 Jan 20165 Jan 2016
wikipedia-clientRuby framework using the API.v1.10.05 Mar 20185 Mar 2018
SunflowerProvides Ruby access to MediaWiki API; can be used as a base for more sophisticated bots or as standalone by beginners.0.5.1214 May 201614 May 2016
MediaWiki::ButtStable but powerful Ruby framework for the API in active development. (Evaluation).3.0.019 Oct 20173 Jan 2019
MediaWiktory(low-level) andInfoboxer (high-level, semantic) clients to MediaWiki, with idiomatic API, support for custom Wiki modules.v0.1.38 Feb 20188 Feb 2018

Rust

[edit]
NameDescriptionLast releaseRelease DateLast activity
mediawiki-rsWrapper for the MediaWiki API.30 Jun 2018
WP:RSAn extremely low-level wrapper to the MediaWiki API.27 Jun 2017
Wikibase RSRust library to talk to the Wikibase API and serialize data into Rust data structures.0.3719 Jun 201919 Jun 2019
mediawiki_rustA MediaWiki client library in Rust.23 Jun 2019

Scala

[edit]
NameDescriptionLast releaseRelease DateLast activity
scalawikiMediaWiki client in Scala.0.6.029 May 201923 Jun 2019
dbpedia extraction frameworkData extraction framework for DBpedia with support Wiki source retrived via MediaWiki API.DBpedia_2015-1025 Jul 201613 Apr 2019
scmwSimple MediaWiki API wrapper for needs ofCommonist image upload tool.v-0.140.022 Dec 201722 Dec 2017

TypeScript

[edit]
NameDescriptionLast releaseRelease dateLast activity
mwn (Node.js)Mwn provides comprehensive high-level bindings leveraging latest JS features (such as asynchronous generators for supporting query continuation).v1.11.52023-01-152023-01-15
Retrieved from "https://www.mediawiki.org/w/index.php?title=API:Client_code/All&oldid=7745031"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp