Garry's Mod
API для FenixRP <промокод на 1000pуб>
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11007798json
{
"response": {
"steam_id": "85568392936213166",
"domain": null,
"id": 11007798,
"ip": "185.97.255.43",
"port": 27875,
"query": 27875,
"color": 3,
"city": "St Petersburg",
"description": null,
"game": 4000,
"owner": 123365,
"boosts": 3,
"last_offline": 1776518003,
"score": 5,
"last_online": 1776744009,
"icon": null,
"name": "FenixRP <промокод на 1000pуб>",
"connect": "185.97.255.43:27875",
"request": "185.97.255.43:27875",
"map": "rp_bangclaw",
"gamemode": "DarkRP",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 1,
"points": 183,
"add_date": 1769940207,
"last_update": 1776744009,
"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": 1,
"language": "ru",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": {
"username": "allanchik",
"avatar": "no.jpg",
"last_online": 1776713426
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11007798");
$data = json_decode($json, true);
var_dump($data);