DayZ
API für KarmaKrew Namalsk #2 NA - SOLO DUO TRIO | 1PP | VANILLA + MODS
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/2950867json
{
"response": {
"steam_id": "90284629945299991",
"domain": null,
"id": 2950867,
"ip": "172.111.51.164",
"port": 2402,
"query": 27017,
"color": 0,
"city": "New York",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776557002,
"score": null,
"last_online": 1776598214,
"icon": null,
"name": "KarmaKrew Namalsk #2 NA - SOLO DUO TRIO | 1PP | VANILLA + MODS",
"connect": "172.111.51.164:2402",
"request": "172.111.51.164:27017",
"map": "namalsk",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 55,
"maxplayers": 55,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 84,
"add_date": 1707481327,
"last_update": 1776598214,
"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": 632,
"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/2950867");
$data = json_decode($json, true);
var_dump($data);