API для Save for Workers 2x
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 182,
"fps_avg": 171,
"entities_count": 86098,
"world_seed": 1966433643,
"world_size": 3750,
"steam_id": "90286218779001858",
"domain": null,
"id": 11501284,
"ip": "157.85.95.42",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Frankfurt am Main",
"description": "Next Wipe 04.06.2026\r\nShort Nights\r\nBetterLoot 2x Removed Junk\r\nGatherRate 5x\r\nQuick Smelt and Furnace Splitter\r\nBackpacks\r\nShared Blueprints\r\nAntiOfflineRaid\r\nRemover Tool\r\nTrading is avaible",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596812,
"last_online": 1779771622,
"icon": null,
"name": "Save for Workers 2x",
"connect": "157.85.95.42:28015",
"request": "157.85.95.42:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207170,
"last_update": 1780596812,
"banned": false,
"wipe": 1779042462,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10925,
"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/11501284");
$data = json_decode($json, true);
var_dump($data);