Counter-Strike: Source
API для 24/7 GunGame DM | Turbo | HLStatsX | 100 Tick | FastDL | KalyxG
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10630595json
{
"response": {
"steam_id": "85568392934818864",
"domain": null,
"id": 10630595,
"ip": "158.69.213.4",
"port": 27018,
"query": 27018,
"color": 0,
"city": "Montreal",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1772059253,
"score": 0,
"last_online": 1776317475,
"icon": null,
"name": "24/7 GunGame DM | Turbo | HLStatsX | 100 Tick | FastDL | KalyxG",
"connect": "158.69.213.4:27018",
"request": "158.69.213.4:27018",
"map": "gg_mario_vs_wario",
"gamemode": "(•_•)=ε/̵͇̿̿/'̿'̿ ̿ GunGame DM",
"version": "9540945",
"numplayers": 0,
"maxplayers": 32,
"bots": 12,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1763482009,
"last_update": 1776317475,
"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": 1341,
"language": "en",
"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/10630595");
$data = json_decode($json, true);
var_dump($data);