Garry's Mod
API для 🔷 industrial construct [norules, cslua, e2, sf, propkill]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10986342json
{
"response": {
"steam_id": "85568392924810076",
"domain": null,
"id": 10986342,
"ip": "87.121.82.148",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1776189718,
"score": 0,
"last_online": 1776643880,
"icon": null,
"name": "🔷 industrial construct [norules, cslua, e2, sf, propkill]",
"connect": "87.121.82.148:27015",
"request": "87.121.82.148:27015",
"map": "gm_construct_13_beta",
"gamemode": "Sandbox",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769902582,
"last_update": 1776643880,
"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": 2378,
"language": "fi",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10986342");
$data = json_decode($json, true);
var_dump($data);