This website uses 3rd party cookies from ad provider. If you don't want them, you can turn off cookies in your browser settings. | Privacy policy

For developers and webmasters

If you want to display latest version on your site, you can use our JSON file to display data you need. To save our transfer it's reccomended that you also create a cronjob task, which is downloading that file for example every 30 minutes to your server, and you use that cached file to display info. It will also make your website work faster.

If you got questions, OR USED THIS API please contact me at: gny[antispam]sek (at) gmail (dot) com

To get latest versions of GameMaker products, use one of this links:

GMS 2.x IDE (Windows) GMS 2.x runtime GM:Studio 1.4.x Stable GM:Studio 1.4.x Beta GM:Studio 1.4.x EAP GM 8.x GM for Mac OS X All versions at once
Data returned by one of above methods will be a JSON data. Example how to get and what will be returned:

• Usage example in PHP [with file_get_contents (slower)]
	$resultFile = json_decode(file_get_contents('https://gmapi.gnysek.pl/version/all'), true);
	echo $resultFile['gm4win']['version']; //will output 8.1.141				

• Usage example in PHP [with CURL]
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
	curl_setopt($ch, CURLOPT_URL, 'https://gmapi.gnysek.pl//version/all');
	$resultFile = json_decode(curl_exec($ch), true);
	curl_close($ch);
	echo $resultFile['gm4win']['version']; //will output 8.1.141				

• Returned data - example 1 https://gmapi.gnysek.pl/version/gm4win
{
    "gm4win": {
        "version": "8.1.141",
        "released": "Thu, 24 Mar 2011 12:21:53 Z",
        "releasedUT": 1300969313,
        "fetchedByApi": 1300969313,
        "daysAgo": 2767
    }
}

• Returned data - example 2 https://gmapi.gnysek.pl/version/all
{
    "gm2ide": {
        "version": "2.2.0.343",
        "released": "Wed, 03 Oct 2018 10:34:33 Z",
        "releasedUT": 1538562873,
        "fetchedByApi": 1538568904,
        "daysAgo": 17
    },
    "gm2runtime": {
        "version": "2.2.0.261",
        "released": "Tue, 09 Oct 2018 13:24:42 Z",
        "releasedUT": 1539091482,
        "fetchedByApi": 1539258306,
        "daysAgo": 9
    },
    "gmstudio": {
        "version": "1.4.1804",
        "released": "Tue, 13 Mar 2018 12:39:04 Z",
        "releasedUT": 1520944744,
        "fetchedByApi": 1522321203,
        "daysAgo": 205
    },
    "gmstudiobeta": {
        "version": "1.4.9999",
        "released": "Thu, 04 Oct 2018 12:22:21 Z",
        "releasedUT": 1538655741,
        "fetchedByApi": 1535641203,
        "daysAgo": 51
    },
    "gmstudioea": {
        "version": "1.99.551",
        "released": "Wed, 05 Jul 2017 14:59:35 Z",
        "releasedUT": 1499266775,
        "fetchedByApi": 1499338802,
        "daysAgo": 471
    },
    "gm2idemac": {
        "version": "2.1.5.322",
        "released": "Mon, 30 Jul 2018 15:48:12 +0100",
        "releasedUT": 1532962092,
        "fetchedByApi": 1533214805,
        "daysAgo": 79
    },
    "gm4win": {
        "version": "8.1.141",
        "released": "Thu, 24 Mar 2011 12:21:53 Z",
        "releasedUT": 1300969313,
        "fetchedByApi": 1300969313,
        "daysAgo": 2767
    },
    "gm4mac": {
        "version": "7.5.86",
        "released": "Mon, 29 Aug 2011 16:13:32 +0100",
        "releasedUT": 1314630812,
        "fetchedByApi": 1314630812,
        "daysAgo": 2609
    }
}