API für Name is not set on server
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8992881,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 252490,
"owner": 119230,
"boosts": 1,
"last_offline": 1753434896,
"last_online": 1750525832,
"icon": null,
"name": "Name is not set on server",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Survival",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1746830765,
"last_update": 1753434896,
"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": 13317,
"language": "ru",
"parked": true,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "zoglin22",
"avatar": "bb297848-3433-4005-a1a6-394bfdb1dbc4.jpg"
},
"mods": [
{
"id": 909,
"name": "InfoPanel"
},
{
"id": 1225,
"name": "Raidable Bases"
},
{
"id": 1589,
"name": "No Steam"
},
{
"id": 645,
"name": "Convoy Reforged"
}
],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/8992881");
$data = json_decode($json, true);
var_dump($data);