API:Client code/ja

クライアント ライブラリは、開発者が一般的なタスクや基本的なタスクを支援するために使用できるコードを含んでいるため、プロジェクトが API と対話する際にコードを最初から作成する必要はありません.

このページは、MediaWiki 操作 API で使用できる最大 3 つの推奨クライアント ライブラリの言語ごとの一覧を含んでいます. 推奨は、 を使用した評価に基づいています.

Java
More Java libraries available at API:Client_code/All#Java.

JavaScript
In-wiki JavaScript clients:

More JavaScript libraries available at API:Client_code/All#JavaScript.

.NET
More .NET libraries available at API:Client_code/All#.NET.

PHP
More PHP libraries available at API:Client_code/All#PHP.

Sometimes people try to use these kind of libraries to access a MediaWiki installation on the same server. This is often unnecessary because MediaWiki itself is written in PHP, especially when the only purpose of the script is interacting with MediaWiki. By 'ing  (  may need to be set beforehand, see Manual:$IP), a script gets access to MediaWiki components and consequently it can call the API internally or use other MediaWiki classes and functions directly, which greatly reduces server load.

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

More Python libraries available at API:Client_code/All#Python.

Ruby
More Ruby libraries available at API:Client_code/All#Ruby.

Rust
More Rust libraries available at API:Client_code/All#Rust.

関連項目

 * API:Client_code/All — All known API client libraries.
 * API:Client_code/Gold_standard — Describes best practices for action API client libraries.
 * Collection of bot libraries on Wikipedia, several of these use the API.
 * mediawiki-api-demos — Demo apps and code snippets in Python and JavaScript demonstrating how to use various modules of the MediaWiki Action API.