DayZ
API für The LAST LEGACY PVE (Ver: 2.0)
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10856291json
{
"response": {
"steam_id": "90284746285711366",
"domain": null,
"id": 10856291,
"ip": "212.22.93.140",
"port": 2322,
"query": 2325,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": 159555,
"boosts": 1,
"last_offline": 1776338627,
"score": 0,
"last_online": 1776799817,
"icon": null,
"name": "The LAST LEGACY PVE (Ver: 2.0)",
"connect": "212.22.93.140:2322",
"request": "212.22.93.140:2325",
"map": "DeerIsle",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 12,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 72,
"add_date": 1768255247,
"last_update": 1776799817,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 848,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "hitman_blrreg5",
"avatar": "no.jpg",
"last_online": 1774951833
},
"mods": [],
"disabled_modules": [
"chat"
]
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10856291");
$data = json_decode($json, true);
var_dump($data);