Vocabularymediawiki.
apiInputsparams | an assoc of query parameters |
Outputsseq | a stripped parsed JSON result |
Word descriptionMakes an API query and extracts the query result from theJSON.
The following two code snippets are equivalent:
{
{ "action" "query" }
{ "meta" "userinfo" }
} api-call
"query" "userinfo" "name" [ of ] tri@
{ { "meta" "userinfo" } } query "name" of
The following two code snippets are also equivalent:
{
{ "action" "query" }
{ "list" "watchlistraw" }
} api-call
"watchlistraw" of
{ { "list" "watchlistraw" } } query
Definition