Garry's Mod
New Gmod Server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11165375json
{
"response": {
"steam_id": 85568392935924320,
"domain": null,
"id": 11165375,
"ip": "213.32.43.207",
"port": 33227,
"query": 33227,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1774195318,
"score": 0,
"last_online": 1776280863,
"icon": null,
"name": "New Gmod Server",
"connect": "213.32.43.207:33227",
"request": "213.32.43.207:33227",
"map": "ttt_panic_room_dev_v1c",
"gamemode": "IX: Skeleton",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 2,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772228591,
"last_update": 1776280863,
"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": 2813,
"language": "fr",
"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/11165375");
$data = json_decode($json, true);
var_dump($data);