Counter-Strike: Source
API для MIX | CYBER X [ClientMod / 100 Tick] [В ожидании: 10]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/2458276json
{
"response": {
"steam_id": null,
"domain": null,
"id": 2458276,
"ip": "46.174.48.90",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "",
"game": 240,
"owner": 50739,
"boosts": 1,
"last_offline": 1773937321,
"score": null,
"last_online": 1776118816,
"icon": null,
"name": "MIX | CYBER X [ClientMod / 100 Tick] [В ожидании: 10]",
"connect": "46.174.48.90:27015",
"request": "46.174.48.90:27015",
"map": "de_mirage_csgo_v2",
"gamemode": "CYBER-XGAME.RU",
"version": "1.0.0.34",
"numplayers": 0,
"maxplayers": 13,
"bots": 1,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1704539640,
"last_update": 1776118816,
"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": 312,
"language": "ru",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": {
"username": "fanat1432003",
"avatar": "no.jpg",
"last_online": 1704909991
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/2458276");
$data = json_decode($json, true);
var_dump($data);