API dla EclipseEcho Raid Time PVE mXs VANILLA
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11718477,
"ip": "72.56.119.181",
"port": 23322,
"query": 28976,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780803255,
"last_online": 1780851021,
"icon": null,
"name": "EclipseEcho Raid Time PVE mXs VANILLA",
"connect": "72.56.119.181:23322",
"request": "72.56.119.181:28976",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 122,
"maxplayers": 127,
"bots": 122,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 97,
"add_date": 1780324154,
"last_update": 1780851021,
"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": 1517,
"language": "de",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11718477");
$data = json_decode($json, true);
var_dump($data);