Half-Life 2: Deathmatch
API для - L M H T - Los-Muertos-Hemoglobine-Team
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8713164json
{
"response": {
"steam_id": "85568392923683349",
"domain": null,
"id": 8713164,
"ip": "37.157.251.75",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Düsseldorf",
"description": null,
"game": 320,
"owner": null,
"boosts": 1,
"last_offline": 1766570456,
"score": 0,
"last_online": 1776436879,
"icon": null,
"name": "- L M H T - Los-Muertos-Hemoglobine-Team",
"connect": "37.157.251.75:27015",
"request": "37.157.251.75:27015",
"map": "dm_lockdown2_fixa",
"gamemode": "Half-Life 2 Deathmatch",
"version": "9540945",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1745731633,
"last_update": 1776436879,
"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": 119,
"language": "de",
"parked": false,
"app": {
"id": 1,
"steam_id": 320,
"name": "Half-Life 2: Deathmatch",
"url": "half-life-2-deathmatch"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8713164");
$data = json_decode($json, true);
var_dump($data);