Rust
API для [EU] Facepunch Staging Primitive Small
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7467345json
{
"response": {
"fps": 172,
"fps_avg": 175,
"entities_count": 83512,
"world_seed": 1879247053,
"world_size": 3750,
"steam_id": "90285024982936603",
"domain": null,
"id": 7467345,
"ip": "79.137.98.21",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Gravelines",
"description": "![[EU] Facepunch Staging Primitive 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": 1776936200,
"score": 0,
"last_online": 1777324219,
"icon": null,
"name": "[EU] Facepunch Staging Primitive Small",
"connect": "79.137.98.21:28015",
"request": "79.137.98.21:28016",
"map": "Procedural Map",
"gamemode": "Primitive",
"version": "2624",
"numplayers": 5,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1739234753,
"last_update": 1777324219,
"banned": false,
"wipe": 1774526769,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2039,
"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/7467345");
$data = json_decode($json, true);
var_dump($data);