DayZ
API für Atomz UK PVE No Trader-Hunt to Survive
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/629944json
{
"response": {
"steam_id": "90285899910466582",
"domain": null,
"id": 629944,
"ip": "5.226.141.68",
"port": 2487,
"query": 2488,
"color": 0,
"city": "City of London",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1778157785,
"score": null,
"last_online": 1779121307,
"icon": null,
"name": "Atomz UK PVE No Trader-Hunt to Survive",
"connect": "5.226.141.68:2487",
"request": "5.226.141.68:2488",
"map": "Lux",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1669652566,
"last_update": 1779121307,
"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": 1723,
"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/629944");
$data = json_decode($json, true);
var_dump($data);