API для down time
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 33,
"fps_avg": 32,
"entities_count": 373721,
"world_seed": 2147483647,
"world_size": 6000,
"steam_id": "90286406299682824",
"domain": null,
"id": 11607460,
"ip": "176.57.135.120",
"port": 28200,
"query": 28215,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780150413,
"last_online": 1780567856,
"icon": null,
"name": "down time",
"connect": "176.57.135.120:28200",
"request": "176.57.135.120:28215",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779915508,
"last_update": 1780567856,
"banned": false,
"wipe": 1778500730,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8984,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11607460");
$data = json_decode($json, true);
var_dump($data);