Parameters:
format - The format of the output
One value: json, php
Default: json
action - What action you would like to perform. See below for module help
One value: query
Default: query
*** *** *** *** *** *** *** *** *** *** *** *** *** *** Modules *** *** *** *** *** *** *** *** *** *** *** *** *** ***
* action=query *
API module to get the data for multiple entries of the base.
The loading may be long if the database refresh its data from an external service.
Parameters:
ids - The IDs of the entities to get the data from
Separate values with '|'
sites - Identifier for the site on which the corresponding page resides
Use together with 'titles', give one site by title.
Values (separate with '|'): all possible site id, including isni
titles - The title of the corresponding page
Use together with 'sites', give one site by title.
If you want all the entries with a link to a site use "*" value
Values (separate with '|'): all existing titles and "*"
limit - The number of entries to return
Maximum number of values 50 (500 for bots)
offset - Offset of the query, used for to long queries. Currently works only for queries like api.php?sites=frsource&titles=*
Examples:
Get entry with ID 234
api.php?action=query&ids=234
Get entry with a link to "Auteur:Jean-François_Champollion" in fr.wikisource.org:
api.php?action=query&sites=frsource&titles=Auteur:Jean-François_Champollion
Get all the entries with a link to fr.wikisource.org:
api.php?action=query&sites=frsource&titles=*