query ( params -- seq )
MediaWiki API

Prev:api-call ( params -- assoc )
Next:page-content ( title -- content )


Vocabulary
mediawiki.api

Inputs
paramsan assoc of query parameters


Outputs
seqa stripped parsed JSON result


Word description
Makes 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