このページは MediaWiki 操作 API の説明文書の一部です。
クライアント ライブラリは、開発者が一般的なタスクや基本的なタスクを支援するために使用できるコードを含んでいるため、プロジェクトが API と対話する際にコードを最初から作成する必要はありません。
このページは、MediaWiki 操作 API で使用できるいくつかの推奨クライアント ライブラリの言語ごとの一覧を含んでいます。
推奨は、API:Client_code/Gold_standard を使用した評価に基づいています。
API クライアント ライブラリ
Last activity refers to the last commit in the repository.
Dates and version numbers were updated on 2019-06-19.
Awk
名前
説明
最終リリース
リリース日
直近の活動
BotWikiAwk
Framework and libraries for creating bots. Includes example bots.
2019年3月27日
Wikiget
Awk CLI program to interface with MediaWiki API for read/write including OAuth.
2019年6月8日
Bash
名前
説明
最終リリース
リリース日
直近の活動
bash-mediawiki
An example with Curl that allows easy editing/uploading of a wiki through the MediaWiki API.
2021年8月17日
C++
名前
説明
最終リリース
リリース日
直近の活動
libmediawiki
A library that allows easy editing of a wiki through the MediaWiki API.
2017年9月9日
Common Lisp
名前
説明
最終リリース
リリース日
直近の活動
cl-mediawiki
A Common Lisp wrapper for the MediaWiki API.
2016年11月10日
Elixir
名前
説明
最終リリース
リリース日
直近の活動
mediawiki_client_ex
Adapter for the Action API, EventStreams, and ORES. (説明文書 )
0.4.1
2022年12月20日
2022年12月21日
Go
名前
説明
最終リリース
リリース日
直近の活動
go-mediawiki
Go wrapper for the MediaWiki API.
v0.1
2013年11月4日
2017年2月8日
go-mwclient
Wrapper for the MediaWiki API (supports maxlag, query continuations, OAuth).
v1.2.0
2020年6月3日
2020年6月3日
Haskell
名前
説明
最終リリース
リリース日
直近の活動
haskell mediawiki
A complete Haskell binding to the MediaWiki API letting you programmatically access (read and write) MediaWiki content.
0.2.6
2013年11月20日
2013年11月20日
Java
名前
説明
最終リリース
リリース日
直近の活動
JavaWikiBotFramework
A library to retrieve data from and maintain MediaWiki-based wikis such as Wikipedia.
4.0.0
2016年9月13日
2019年2月15日
jwiki
A library for effortlessly interacting with Wikipedia/MediaWiki.
1.8.0
2020年4月14日
2020年5月6日
Bliki Engine
Can convert wikicode to HTML, DocBook or PDF. Has a helper library for API calls.
2019年4月27日
More Java libraries available at API:Client_code/All#Java .
JavaScript
名前
説明
最終リリース
リリース日
直近の活動
mwn (Node.js)
Mwn is a modern and feature-rich API client with support for both JavaScript and TypeScript. Has classes for conveniently working with page titles and parsing wikitext. Supports both OAuth and BotPasswords.
v2.0.1
2023年9月30日
2023年9月30日
mwbot (Node.js)
MWBot uses the Promise pattern and other ES6 methodologies, optimised for creating bots that make edits. Works with any MediaWiki site.
v2.0.0
2017年10月30日
2021年2月1日
nodemw (Node.js)
A generic MediaWiki API client for Node.js.
v0.16.0
2018年9月16日
2021年10月29日
wikiapi (Node.js)
A simple way to access MediaWiki API via JavaScript with simple wikitext parser.
v1.16.0
2020年10月1日
2021年10月22日
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.
In-wiki JavaScript clients:
名前
説明
最終リリース
リリース日
直近の活動
mwapilib2
A layer overtop of the requests. Make JS gadgets easier.
2016年9月25日
JsMwApi
A convenience wrapper around raw requests, with some helpers for editing and parsing.
2014年6月11日
More JavaScript libraries available at API:Client_code/All#JavaScript .
Lua
名前
説明
最終リリース
リリース日
直近の活動
dtMediaWiki
Makes query (tokens, userinfo), clientlogin, upload, and logout calls. It handles HTTPS requests and cookies and can be used to upload files to Wikimedia Commons.
2018年9月20日
MATLAB
名前
説明
最終リリース
リリース日
直近の活動
MatWiki
A preliminary (as of Feb 2019) MATLAB R2016b(9.1.x) client supporting just bot-logins & semantic #ask queries.
v1.0.0
2019年2月19日
2019年2月19日
.NET
名前
説明
最終リリース
リリース日
直近の活動
WikiFunctions
Library with classes for editing and getting lists of pages via the API, used by AutoWikiBrowser .
6.2.1.0
2021年6月8日
2023年10月5日
LinqToWiki
Strongly typed library for accessing most of MediaWiki API, with support for autocompletion.
1.5.0
2015年5月7日
2015年5月7日
WikiClientLibrary
A .NET Standard & asynchronous MediaWiki API client library for wiki sites. The library also supports Flow/Wikibase/Wikia-specific API.
v0.7.5
2021年1月31日
2022年11月5日
More .NET libraries available at API:Client code/All#.NET .
OCaml
名前
説明
最終リリース
リリース日
直近の活動
ocaml-mediawiki
A high-level binding for the MediaWiki API written in OCaml.
2012年8月29日
Perl
PHP
More PHP libraries available at API:Client code/All#PHP .
Python
名前
型ヒント
説明
最終リリース
リリース日
直近の活動
Pywikibot (docs )
はい
A collection of python scripts and a powerful library for bot writing. (PyPI ) (Git repository ) (#pywikibot 接続 ) (Evaluation ).
9.1.0
2023年4月22日
2024年4月
pwiki (docs )
はい
A Python library for developing bots/tools, focused on ease of use and simplicity.
1.1.1
2021年10月15日
2022年5月28日
mwclient (docs )
いいえ
Python library that makes most of the API functions accessible. (PyPI ) (Evaluation ).
0.10.1
2020年5月28日
2021年9月26日
wiki-scripts (docs )
いいえ
Framework for writing bots, maintenance scripts or performing data analysis.
1.2
2017年12月31日
2019年6月13日
Simple Python wrappers for no-abstraction interfaces to the MediaWiki API and basic session handling:
名前
型ヒント
説明
最終リリース
リリース日
直近の活動
pywikiapi
いいえ
A 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.2
2019年4月13日
2019年4月13日
Wikipedia (docs )
いいえ
A Python library that makes it easy to access and parse data from Wikipedia.
v1.1
2013年12月24日
2016年11月11日
wikitools
いいえ
Provides several layers of abstraction around the API. Doesn't support Python 3.
0.41
2015年6月7日
2016年8月28日
More Python libraries available at API:Client code/All#Python .
R
名前
説明
最終リリース
リリース日
直近の活動
WikipediR
A 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.0
2017年2月15日
2017年2月15日
Ruby
More Ruby libraries available at API:Client code/All#Ruby .
Rust
名前
説明
最終リリース
リリース日
直近の活動
Wikibase RS
Rust library to talk to the Wikibase API and serialize data into Rust data structures.
0.37
2019年6月19日
2019年6月19日
mediawiki_rust
A MediaWiki client library in Rust.
2020年11月16日
mwbot-rs
A framework for writing bots on MediaWiki
0.4.3
2022年10月15日
2022年11月5日
wiki
Library for interacting with MediaWiki APIs
0.0.3
2022年8月10日
2022年11月5日
More Rust libraries available at API:Client code/All#Rust .
Scala
名前
説明
最終リリース
リリース日
直近の活動
scalawiki
MediaWiki client in Scala.
0.6.3
2020年9月17日
2019年9月28日
dbpedia extraction framework
Data extraction framework for DBpedia with support Wiki source retrieved via MediaWiki API.
DBpedia_2015-10
2016年7月25日
2019年4月13日
scmw
Simple MediaWiki API wrapper for needs of Commonist image upload tool.
v-0.140.0
2017年12月22日
2017年12月22日
関連項目