From PCGamingWiki, the wiki about fixing PC games
Revision as of 08:20, 8 April 2020 by Aemony (talk | contribs) (minor changes)

This page might not be updated to reflect all available API endpoints or functionality.

MediaWiki API

As the PCGamingWiki is based on MediaWiki, the built-in MediaWiki API endpoint can be used to access a lot of data. Some MediaWiki extensions we use such as Semantic MediaWiki and Cargo also exposes their own API actions through the MediaWiki API.
If you want to retrieve the Semanic MediaWiki properties (e.g. cover image, developer, publisher, release date, etc) of a page, the browsebysubject API action is currently the most relevant one if you know the page name. See this example (sandbox).
The API Sandbox can be helpful in figuring the API out.
Example (JSON)

Redirect API

Our custom redirect API allows us to redirect incoming users using any Steam ID to the relevant PCGamingWiki page.
Source code