Rust
API pentru LoneRust 3x | One Grid/1 Grid | Trio Max
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/2474194json
{
"response": {
"fps": 54,
"fps_avg": 52,
"entities_count": 14028,
"world_seed": 1337,
"world_size": 2000,
"steam_id": "90285674729588738",
"domain": null,
"id": 2474194,
"ip": "135.148.137.125",
"port": 28115,
"query": 28117,
"color": 0,
"city": "Warrenton",
"description": "\nWelcome To LoneRust 3x Solo/Duo/Trio [One Grid]\r\n Group Size= Duo(3)\r\n Kits | Improved Loot | Exclusive Custom Maps\r\n\r\n Map Wipes: Every Tuesday & Friday at 4PM EST\r\n - Blueprints Wipe Monthly On Forcewipe!\r\n\r\n [Server Rules] :\r\n - No cheating, scripting or exploiting. No impersonation of staff members.\r\n - No Overteaming , Trio ONLY (no exceptions)\r\n - No spam, racism or discrimination.\r\n - No DDoS/DOXXING threats of any sort.\r\n - No 1 Rust/EAC Banned account under 180 days\r\n - No 2 Rust/EAC Banned account(s).\r\n\r\n [Server Perks]:\r\n - Active Staff\r\n - Custom Maps & Monuments\r\n - High Performance Servers\r\n - DDoS Protected\r\n\r\n If you'd like to purchase VIP and support the server visit:\r\n store.lonerust.gg\r\n For more information join our Discord by clicking the blue button!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778616179,
"score": null,
"last_online": 1778767813,
"icon": null,
"name": "LoneRust 3x | One Grid/1 Grid | Trio Max",
"connect": "135.148.137.125:28115",
"request": "135.148.137.125:28117",
"map": "LR - 3x One Grid",
"gamemode": "Survival",
"version": "2625",
"numplayers": 25,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 86,
"add_date": 1704630197,
"last_update": 1778767813,
"banned": false,
"wipe": 1778616161,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 425,
"language": "en",
"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/2474194");
$data = json_decode($json, true);
var_dump($data);