Rust
API pentru [EU] Facepunch Staging Softcore Small
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/9500454json
{
"response": {
"fps": 92,
"fps_avg": 80,
"entities_count": 130522,
"world_seed": 1401624017,
"world_size": 3750,
"steam_id": "90284726315956251",
"domain": null,
"id": 9500454,
"ip": "79.137.98.21",
"port": 28017,
"query": 28018,
"color": 0,
"city": "Gravelines",
"description": "![[EU] Facepunch Staging Softcore 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": 1776753800,
"score": 0,
"last_online": 1776838215,
"icon": null,
"name": "[EU] Facepunch Staging Softcore Small",
"connect": "79.137.98.21:28017",
"request": "79.137.98.21:28018",
"map": "Procedural Map",
"gamemode": "Softcore",
"version": "2623",
"numplayers": 12,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1748508522,
"last_update": 1776838215,
"banned": false,
"wipe": 1774526865,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 979,
"language": "fr",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/9500454");
$data = json_decode($json, true);
var_dump($data);