Garry's Mod
API для [GER] Nightmare-Network | Weed | Im aufbau
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10783949json
{
"response": {
"steam_id": "85568392935601005",
"domain": null,
"id": 10783949,
"ip": "176.96.138.181",
"port": 27017,
"query": 27017,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1776812553,
"score": 0,
"last_online": 1776437528,
"icon": null,
"name": "[GER] Nightmare-Network | Weed | Im aufbau",
"connect": "176.96.138.181:27017",
"request": "176.96.138.181:27017",
"map": "rp_newexton2_v4h",
"gamemode": "DarkRP",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1766873053,
"last_update": 1776812553,
"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": 3817,
"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/10783949");
$data = json_decode($json, true);
var_dump($data);