Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.93 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.93 KB

PCGamingWiki Redirect API

This is PCGamingWiki's custom redirect API which redirects incoming users using any registered GOG ID, Steam App ID, or WineHQ ID to the relevant PCGamingWiki page.

If you instead want to know how to interface with PCGamingWiki's backend database to look up or retrieve data from game articles, please see the API page over on the website which details how to use the MediaWiki API and relevant Cargo API actions to do so.

Redirect rules

Use the appropriate identifiers for the platform.

Platform Identifier Base URL Example
Steam AppID https://pcgamingwiki.com/api/appid.php?appid= https://pcgamingwiki.com/api/appid.php?appid=920210
GOG ProductID http://pcgamingwiki.com/api/gog.php?page= http://pcgamingwiki.com/api/gog.php?page=1094900565
WineHQ PageID http://pcgamingwiki.com/api/winehq.php?appid= http://pcgamingwiki.com/api/winehq.php?appid=18238

Cheat sheet