Garry's Mod
API pentru [BeztRP.ru] Русский Flood [Новые карты|FastDL]
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/9888193json
{
"response": {
"steam_id": "85568392920046221",
"domain": null,
"id": 9888193,
"ip": "46.146.228.55",
"port": 27025,
"query": 27025,
"color": 0,
"city": "Perm",
"description": null,
"game": 4000,
"owner": 129431,
"boosts": 1,
"last_offline": 1775249490,
"score": 0,
"last_online": 1776808823,
"icon": null,
"name": "[BeztRP.ru] Русский Flood [Новые карты|FastDL]",
"connect": "46.146.228.55:27025",
"request": "46.146.228.55:27025",
"map": "fm_hexagon_hardcore_v2",
"gamemode": "Flood",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1753698949,
"last_update": 1776808823,
"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": 81,
"language": "ru",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": {
"username": "Pizhik",
"avatar": "no.jpg",
"last_online": 1754190189
},
"mods": [],
"disabled_modules": [
"chat"
]
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/9888193");
$data = json_decode($json, true);
var_dump($data);