Reletless Effort Garrys Mod için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "85568392935779996",
"domain": null,
"id": 11622154,
"ip": "83.6.187.205",
"port": 27015,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Lublin",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1780711401,
"last_online": 1780532587,
"icon": null,
"name": "Reletless Effort Garrys Mod",
"connect": "83.6.187.205:27015",
"request": "83.6.187.205:27015",
"map": "ph_house",
"gamemode": "Prop Hunt: X2Z",
"version": "2026.04.29",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": true,
"country": "PL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916079,
"last_update": 1780711401,
"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": 5142,
"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/11622154");
$data = json_decode($json, true);
var_dump($data);