API для [PL/EU] ClearSky x10|Wipe 05.06|PvE-PvP|Biweekly|
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 151,
"fps_avg": 81,
"entities_count": 79199,
"world_seed": 1586562581,
"world_size": 2800,
"steam_id": "90286734816286749",
"domain": null,
"id": 7468421,
"ip": "57.128.202.9",
"port": 10010,
"query": 10020,
"project_id": null,
"color": 0,
"city": "Warsaw",
"description": "WIPE: Biweekly Clan/Team limits: 5 Base Protection after wipe: 48h Turrets Limits: 50|70|80|90|100 Night length: 5 minutes 10x gather rates on everything Increased the stack size Increase backpack size - Backpacks Week before wipe PVE will be disabled !!! Kit Type /info for the rest of the in-game rules",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780614854,
"last_online": 1780926036,
"icon": null,
"name": "[PL/EU] ClearSky x10|Wipe 05.06|PvE-PvP|Biweekly|",
"connect": "57.128.202.9:10010",
"request": "57.128.202.9:10020",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 2,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1739234816,
"last_update": 1780926036,
"banned": false,
"wipe": 1780615343,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3471,
"language": "pl",
"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/7468421");
$data = json_decode($json, true);
var_dump($data);