Garry's Mod
API для gRUST | X3 | Wiped 1d ago | 5 Day Wipe | BUG FIX
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10824740json
{
"response": {
"steam_id": "90284640205877278",
"domain": null,
"id": 10824740,
"ip": "151.242.106.71",
"port": 29007,
"query": 29007,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 4000,
"owner": 136337,
"boosts": 1,
"last_offline": 1776202915,
"score": 0,
"last_online": 1776794419,
"icon": null,
"name": "gRUST | X3 | Wiped 1d ago | 5 Day Wipe | BUG FIX",
"connect": "151.242.106.71:29007",
"request": "151.242.106.71:29007",
"map": "rust_highland_v2",
"gamemode": "gRUST | Rust in Garry's Mod",
"version": "2025.03.26",
"numplayers": 7,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 66,
"add_date": 1767324053,
"last_update": 1776794419,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 108,
"language": "en",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": {
"username": "VARdanplay_YouTube",
"avatar": "5fe81f6a-937e-4fda-90fb-1f364de7e308.png",
"last_online": 1774792990
},
"mods": [
{
"id": 5,
"name": "Admin System"
},
{
"id": 48,
"name": "Check Cheats"
},
{
"id": 1653,
"name": "Code Lock"
}
],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10824740");
$data = json_decode($json, true);
var_dump($data);