Counter-Strike: Global Offensive
API для Apex Project | MM HvH RPG | No VAC
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11489363json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11489363,
"ip": "46.174.53.235",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 4465480,
"owner": 188034,
"boosts": 1,
"last_offline": 1776365013,
"score": 0,
"last_online": 1776430817,
"icon": null,
"name": "Apex Project | MM HvH RPG | No VAC",
"connect": "46.174.53.235:27015",
"request": "46.174.53.235:27015",
"map": "de_cache",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 2,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1776365013,
"last_update": 1776430817,
"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": 248,
"language": "ru",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": {
"username": "jisa_kovalyova",
"avatar": "2cd5edb8-fb43-455f-a8a0-3de1da1805b4.jpg",
"last_online": 1776430438
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11489363");
$data = json_decode($json, true);
var_dump($data);