Garry's Mod
API für Mistrzownia Sandbox <3
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10702992json
{
"response": {
"steam_id": "85568392924373187",
"domain": null,
"id": 10702992,
"ip": "103.112.60.91",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Bełchatów",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1772670741,
"score": 0,
"last_online": 1776798653,
"icon": null,
"name": "Mistrzownia Sandbox <3",
"connect": "103.112.60.91:27015",
"request": "103.112.60.91:27015",
"map": "gm_mobenix_v3_final_m2",
"gamemode": "Sandbox",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1765123579,
"last_update": 1776798653,
"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": 708,
"language": "pl",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10702992");
$data = json_decode($json, true);
var_dump($data);