DayZ
API für Survivng The Dead PVE Loot+ Inventory+
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/8462828json
{
"response": {
"steam_id": "90284591436952586",
"domain": null,
"id": 8462828,
"ip": "103.193.80.82",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Sydney",
"description": "Survive together. Enjoy the Dayz Life",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776488006,
"score": 0,
"last_online": 1776781227,
"icon": null,
"name": "Survivng The Dead PVE Loot+ Inventory+",
"connect": "103.193.80.82:2302",
"request": "103.193.80.82:2303",
"map": "enoch",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1743887823,
"last_update": 1776781227,
"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": 976,
"language": "en",
"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/8462828");
$data = json_decode($json, true);
var_dump($data);