DayZ
API für INFECTED_PVE_NO PLAYER KILLS_NO BASE RAID_TELEPORTS
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10435181json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10435181,
"ip": "109.230.243.74",
"port": 53199,
"query": 10703,
"color": 0,
"city": "Miami",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776193916,
"score": 0,
"last_online": 1776816634,
"icon": null,
"name": "INFECTED_PVE_NO PLAYER KILLS_NO BASE RAID_TELEPORTS",
"connect": "109.230.243.74:53199",
"request": "109.230.243.74:10703",
"map": "dayzOffline.sakhal",
"gamemode": "DayZ",
"version": "1.29.162494",
"numplayers": 4,
"maxplayers": 26,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1759875619,
"last_update": 1776816634,
"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": 1387,
"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/10435181");
$data = json_decode($json, true);
var_dump($data);