API dla Syvaka Fun / 3x Nolim EU/UA/RU - Wipe everyday
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 10,
"fps_avg": 10,
"entities_count": 44236,
"world_seed": 1337,
"world_size": 3000,
"steam_id": "90286552770992129",
"domain": null,
"id": 11644930,
"ip": "89.34.97.202",
"port": 28080,
"query": 28015,
"color": 0,
"city": "City of London",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470425,
"last_online": 1780542089,
"icon": null,
"name": "Syvaka Fun / 3x Nolim EU/UA/RU - Wipe everyday",
"connect": "89.34.97.202:28080",
"request": "89.34.97.202:28015",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780177440,
"last_update": 1780542089,
"banned": false,
"wipe": 1780483060,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9424,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11644930");
$data = json_decode($json, true);
var_dump($data);