Counter-Strike: Source
API для CSS =\\ Del'ta \\= Русский сервер [Skins CS2] 18+
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7943897json
{
"response": {
"steam_id": "90284298745160734",
"domain": null,
"id": 7943897,
"ip": "46.174.51.199",
"port": 27019,
"query": 27019,
"color": 0,
"city": "Moscow",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1774603347,
"score": 0,
"last_online": 1776109219,
"icon": null,
"name": "CSS =\\\\ Del'ta \\\\= Русский сервер [Skins CS2] 18+",
"connect": "46.174.51.199:27019",
"request": "46.174.51.199:27019",
"map": "$2000$_DeltaProCS2",
"gamemode": "█ ★★★ DEL'TA ★★★ █",
"version": "9540945",
"numplayers": 8,
"maxplayers": 28,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 49,
"add_date": 1740846837,
"last_update": 1776109219,
"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": 459,
"language": "ru",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7943897");
$data = json_decode($json, true);
var_dump($data);