Day of Defeat: Source
API для [RU] МСК-Некрасовка | HLStatsX | Medic
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7838442json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7838442,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 300,
"owner": 103661,
"boosts": 1,
"last_offline": 1750457066,
"score": 0,
"last_online": 1744778426,
"icon": null,
"name": "[RU] МСК-Некрасовка | HLStatsX | Medic",
"connect": null,
"request": null,
"map": "dod_dorf",
"gamemode": "Day of Defeat",
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1740140464,
"last_update": 1750457066,
"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": 156,
"language": "ru",
"parked": true,
"app": {
"id": 8,
"steam_id": 300,
"name": "Day of Defeat: Source",
"url": "day-of-defeat-source"
},
"server_owner": {
"username": "leshka.ivashkov",
"avatar": "644f42b3-3601-4410-aec0-6f6515da19f0.jpg",
"last_online": 1775156258
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7838442");
$data = json_decode($json, true);
var_dump($data);