DayZ
API für NSRP TEST
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/8537445json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8537445,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 221100,
"owner": 105746,
"boosts": 1,
"last_offline": 1759763036,
"score": 5,
"last_online": 1756549831,
"icon": null,
"name": "NSRP TEST",
"connect": null,
"request": null,
"map": "ExclusionZone",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1744744578,
"last_update": 1759763036,
"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": 4438,
"language": "ru",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "HIKROL",
"avatar": "f3af7a00-7d22-48f4-8da6-2270caf714e6.jpg",
"last_online": 1747590225
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/8537445");
$data = json_decode($json, true);
var_dump($data);