Counter-Strike
API для CSDM SENTRY Пушки Лазеры *NIGHT VIP FREE*
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10556265json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10556265,
"ip": "93.170.73.89",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Almaty",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1776533006,
"score": 0,
"last_online": 1776808236,
"icon": null,
"name": "CSDM SENTRY Пушки Лазеры *NIGHT VIP FREE*",
"connect": "93.170.73.89:27015",
"request": "93.170.73.89:27015",
"map": "de_dust2_2x2",
"gamemode": "VIP FREE",
"version": "1.1.2.7/Stdio",
"numplayers": 2,
"maxplayers": 32,
"bots": 14,
"secured": false,
"private": false,
"country": "KZ",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1762526877,
"last_update": 1776808236,
"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": 3209,
"language": "kk",
"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/10556265");
$data = json_decode($json, true);
var_dump($data);