API для DadCore Rust 2x Monthly Solo/Duo/Trio | 50% Upkeep
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 68,
"fps_avg": 70,
"entities_count": 168189,
"world_seed": 482403641,
"world_size": 4500,
"steam_id": "90286556607854592",
"domain": null,
"id": 11502613,
"ip": "91.229.114.207",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "\nDadCore Rust 2x Monthly Solo/Duo/Trio\r\n\r\nWelcome to DadCore Rust, where people with jobs build their base!\r\n\r\n50% Upkeep\r\nSoftcore+Premium\r\nNorth America Only - No VPN\r\nVanilla Sulfur & Excavator Rates\r\nNo Raid Window - 11pm to 7am Central Time\r\nMinicopter Spawns\r\nNo BP Wipe\r\nNo p2w - No kits",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470419,
"last_online": 1780560036,
"icon": null,
"name": "DadCore Rust 2x Monthly Solo/Duo/Trio | 50% Upkeep",
"connect": "91.229.114.207:28015",
"request": "91.229.114.207:28017",
"map": "Procedural Map",
"gamemode": "Softcore",
"version": "2625",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207206,
"last_update": 1780560036,
"banned": false,
"wipe": 1778176527,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4992,
"language": "en",
"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/11502613");
$data = json_decode($json, true);
var_dump($data);