Counter-Strike
API для © КВАРТАЛ 32
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8114799json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8114799,
"ip": "37.230.228.21",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1776779003,
"score": 5,
"last_online": 1776801017,
"icon": null,
"name": "© КВАРТАЛ 32",
"connect": "37.230.228.21:27015",
"request": "37.230.228.21:27015",
"map": "$2000$",
"gamemode": "[100 РАУНДОВ]",
"version": "1.1.2.7/Stdio",
"numplayers": 26,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 87,
"add_date": 1741870051,
"last_update": 1776801017,
"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": 1752,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8114799");
$data = json_decode($json, true);
var_dump($data);