Garry's Mod
API für Retard Gaming 2: Jetzt mit weniger Chromosomen
Wir bieten eine breite Auswahl an Integrationsmethoden. Sie können eine davon verwenden oder Ihre eigene mit der JSON-API erstellen. Wenn Sie einen Vorschlag für eine neue Integrationsmethode haben, kontaktieren Sie uns bitte. Kontaktieren Sie uns
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/1462211json
{
"response": {
"steam_id": "85568392923971668",
"domain": null,
"id": 1462211,
"ip": "144.76.114.183",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1774371718,
"score": null,
"last_online": 1775737857,
"icon": null,
"name": "Retard Gaming 2: Jetzt mit weniger Chromosomen",
"connect": "144.76.114.183:27015",
"request": "144.76.114.183:27015",
"map": "ttt_fastfood_a6",
"gamemode": "Trouble in Terrorist Town",
"version": "2023.06.28",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697310282,
"last_update": 1775737857,
"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": 834,
"language": "de",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/1462211");
$data = json_decode($json, true);
var_dump($data);