Rust
API для WhiteSummer.co 3x | Solo/Duo/Trio | Vanilla+
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10508458json
{
"response": {
"fps": 222,
"fps_avg": 222,
"entities_count": 70512,
"world_seed": 1829452327,
"world_size": 3500,
"steam_id": "90284791821824027",
"domain": null,
"id": 10508458,
"ip": "65.109.102.54",
"port": 27015,
"query": 27017,
"color": 0,
"city": "Helsinki",
"description": "\nOfficial WhiteSummer.co EU Weekly\r\n3x | Solo/Duo/Trio | Vanilla+\r\n\r\nWipe Schedule:\r\n• Weekly wipes every Thursday @ 19:00 (London Time)\r\n• Blueprints wipe biweekly\r\n\r\nFeatures:\r\n• 3x Gather Rate\r\n• 3x Loot (junk removed)\r\n• Free Quality of Life upgrades\r\n• No Pay-to-Win or Paid Features\r\n\r\nAbout Us:\r\nWhiteSummer.co delivers a balanced Vanilla+ experience built for solos, duos, and trios. Clean gameplay, active admins, and a fair environment — Rust the way it’s meant to be played.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775152930,
"score": 0,
"last_online": 1776843623,
"icon": null,
"name": "WhiteSummer.co 3x | Solo/Duo/Trio | Vanilla+",
"connect": "65.109.102.54:27015",
"request": "65.109.102.54:27017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1761421303,
"last_update": 1776843623,
"banned": false,
"wipe": 1775153264,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3738,
"language": "fi",
"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/10508458");
$data = json_decode($json, true);
var_dump($data);