Garry's Mod
XLB //Sandbox// için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11326588json
{
"response": {
"steam_id": "90284674536636442",
"domain": null,
"id": 11326588,
"ip": "89.144.32.9",
"port": 22000,
"query": 22000,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1776640998,
"score": 0,
"last_online": 1776807711,
"icon": null,
"name": "XLB //Sandbox//",
"connect": "89.144.32.9:22000",
"request": "89.144.32.9:22000",
"map": "gm_flatgrass",
"gamemode": "Sandbox",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774594161,
"last_update": 1776807711,
"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": 2914,
"language": "pl",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11326588");
$data = json_decode($json, true);
var_dump($data);