Half-Life 2: Deathmatch
API for H A L F - L I F E 2 : Team Deathmatch - N O S T A L G I A
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10752673json
{
"response": {
"steam_id": "90284543553131528",
"domain": null,
"id": 10752673,
"ip": "185.180.2.20",
"port": 27138,
"query": 27138,
"color": 0,
"city": "Prague",
"description": null,
"game": 320,
"owner": null,
"boosts": 1,
"last_offline": 1774998732,
"score": 0,
"last_online": 1776445862,
"icon": null,
"name": "H A L F - L I F E 2 : Team Deathmatch - N O S T A L G I A",
"connect": "185.180.2.20:27138",
"request": "185.180.2.20:27138",
"map": "dm_powerhouse",
"gamemode": "Half-Life 2 Deathmatch",
"version": "9540945",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766253892,
"last_update": 1776445862,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 155,
"language": "cs",
"parked": false,
"app": {
"id": 1,
"steam_id": 320,
"name": "Half-Life 2: Deathmatch",
"url": "half-life-2-deathmatch"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10752673");
$data = json_decode($json, true);
var_dump($data);