Rust
API для [EU] Facepunch Staging Hardcore Small
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7402991json
{
"response": {
"fps": 219,
"fps_avg": 216,
"entities_count": 81093,
"world_seed": 0,
"world_size": 3750,
"steam_id": "90285024997856282",
"domain": null,
"id": 7402991,
"ip": "79.137.98.20",
"port": 28019,
"query": 28020,
"color": 0,
"city": "Gravelines",
"description": "![[EU] Facepunch Staging Hardcore Small](https://files.facepunch.com/Alistair/124/07/2025/9593/fpos.png)\nThis is an official server owned and operated by Facepunch.\r\n\r\nThe Staging Branch in Rust is a separate version of Rust where new updates and features are tested before being published to the main game. To join, launch 'Rust - Staging Branch' from your Steam library.\r\n\r\nSee more at https://rust.facepunch.com/staging",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776085314,
"score": 0,
"last_online": 1777324225,
"icon": null,
"name": "[EU] Facepunch Staging Hardcore Small",
"connect": "79.137.98.20:28019",
"request": "79.137.98.20:28020",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2624",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1737120216,
"last_update": 1777324225,
"banned": false,
"wipe": 1774526670,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3206,
"language": "fr",
"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/7402991");
$data = json_decode($json, true);
var_dump($data);