Garry's Mod
API для SweatyFeetGirl
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6290841json
{
"response": {
"steam_id": "85568392931073566",
"domain": null,
"id": 6290841,
"ip": "45.145.41.139",
"port": 27018,
"query": 27018,
"color": 0,
"city": "Offenbach Am Main",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1774213915,
"score": 0,
"last_online": 1775842867,
"icon": null,
"name": "SweatyFeetGirl",
"connect": "45.145.41.139:27018",
"request": "45.145.41.139:27018",
"map": "gm_construct",
"gamemode": "Sandbox",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1729560332,
"last_update": 1775842867,
"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": 1314,
"language": "de",
"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/6290841");
$data = json_decode($json, true);
var_dump($data);