DayZ
API für GER|PvE Biergarten|Survival|AI|Skills|Hardcore-Start|Alteria
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11186324json
{
"response": {
"steam_id": "90285638890947606",
"domain": null,
"id": 11186324,
"ip": "188.40.64.183",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Falkenstein",
"description": "FCK AFD !Nazis spielen bitte nicht hier! --- 5h Tag 0,5h Nacht | Restart: 0000,0600,1200,1800 --- https://discord.gg/dEZFJ77JTp --- Unser Pripyat Server: 51.195.39.224:2302",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776241916,
"score": 0,
"last_online": 1778538024,
"icon": null,
"name": "GER|PvE Biergarten|Survival|AI|Skills|Hardcore-Start|Alteria",
"connect": "188.40.64.183:2302",
"request": "188.40.64.183:2303",
"map": "alteria",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772698914,
"last_update": 1778538024,
"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": 565,
"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/11186324");
$data = json_decode($json, true);
var_dump($data);