DayZ
API für [RU] FOR THE SOUL [PvE]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/868597json
{
"response": {
"steam_id": null,
"domain": null,
"id": 868597,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "",
"game": 221100,
"owner": 35253,
"boosts": 1,
"last_offline": 1756334708,
"score": null,
"last_online": 1753304435,
"icon": null,
"name": "[RU] FOR THE SOUL [PvE]",
"connect": null,
"request": null,
"map": "chernarusplus",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1684685475,
"last_update": 1756334708,
"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": 3460,
"language": "ru",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "KARATEL675",
"avatar": "aefe2663-f38c-442f-9d56-b3ad6d3fdec8.jpg",
"last_online": 1735198025
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/868597");
$data = json_decode($json, true);
var_dump($data);