API:Random/ja

GET request to view a list of random pages.

This module can be used as a.

サンプル コード
get_random.py

パラメーターの履歴

 * v1.26: Previous limit of 10/20 on  was increased to standard 500/5000 limits.
 * v1.26:  を廃止予定にしました
 * v1.26:  を導入しました
 * v1.14:  を導入しました

追加的な注記

 * Unlike most modules in the, the default number of pages returned is 1, not 10.
 * Pages are returned in a fixed sequence; only the starting point is actually random.
 * The default behavior is to pick pages from across the entire wiki, including talk pages, user pages, and so on. If you are looking for similar functionality as Special:Random, i.e. pick random articles, restrict  to.
 * If the number of pages is fewer than, the request will simply return all available pages. It will not repeat pages to pad out the response up to the limit.

関連項目

 * - describes how to configure the API on the backend.