DayZ
API für [RU] | DarkTrails Stalker RP
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/5291284json
{
"response": {
"steam_id": null,
"domain": null,
"id": 5291284,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 221100,
"owner": 85544,
"boosts": 1,
"last_offline": 1767765057,
"score": 0,
"last_online": 1766856613,
"icon": null,
"name": "[RU] | DarkTrails Stalker RP",
"connect": null,
"request": null,
"map": "ExclusionZonePlus",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": true,
"country": "FI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1721604779,
"last_update": 1767765057,
"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": 4312,
"language": "fi",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "evilimp",
"avatar": "876fc1a8-77bd-4b07-a098-78f51bb943ac.jpg",
"last_online": 1773626324
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/5291284");
$data = json_decode($json, true);
var_dump($data);