DayZ
API für [BOOSTED] SHADOW HAVEN * CARS+ * X10 LOOT * EVENTS * ЧЕРНОРУСЬ #
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11437742json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11437742,
"ip": "72.56.119.181",
"port": 33771,
"query": 10888,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776222072,
"score": 0,
"last_online": 1776294610,
"icon": null,
"name": "[BOOSTED] SHADOW HAVEN * CARS+ * X10 LOOT * EVENTS * ЧЕРНОРУСЬ #",
"connect": "72.56.119.181:33771",
"request": "72.56.119.181:10888",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 196,
"maxplayers": 250,
"bots": 196,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 115,
"add_date": 1774977348,
"last_update": 1776294610,
"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": 280,
"language": "de",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11437742");
$data = json_decode($json, true);
var_dump($data);