API für Hells RP (Тех работы)
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9019118,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 304930,
"owner": 118977,
"boosts": 1,
"last_offline": 1756334708,
"last_online": 1752181252,
"icon": "https://i.yapx.cc/ZZJFZ.png",
"name": "Hells RP (Тех работы)",
"connect": null,
"request": null,
"map": "PEI",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1746896837,
"last_update": 1756334708,
"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": 2501,
"language": "de",
"parked": true,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": {
"username": "Feras",
"avatar": "59897fb8-ce44-4a3d-a1a8-d319ffd1c096.jpg"
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/9019118");
$data = json_decode($json, true);
var_dump($data);