Rust
API pentru Grumpys 10x | My Mini | Homes+TP and More
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11101821json
{
"response": {
"fps": 183,
"fps_avg": 181,
"entities_count": 115575,
"world_seed": 438781481,
"world_size": 4000,
"steam_id": "90284724146837518",
"domain": null,
"id": 11101821,
"ip": "37.27.129.30",
"port": 60410,
"query": 60412,
"color": 0,
"city": "Helsinki",
"description": "\nWelcome to Grumpys 10x! The ultimate high-rate experience for fast-paced PVP and Raiding.\r\n\r\nSERVER FEATURES: \r\n\r\n● 10x Gather Rate & Heavily Boosted Loot.\r\n● No Blueprints (Instant Progress).\r\n● MyMini: Spawn Minicopters with /mymini (No Fuel Needed). \r\n● Raidable Bases: NPC-Guarded Fortresses with Top-Tier Loot.\r\n● Quality of Life: Commands for a smoother experience.\r\n● Raid Alarms: via Rust+",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776659598,
"score": 0,
"last_online": 1776834653,
"icon": null,
"name": "Grumpys 10x | My Mini | Homes+TP and More",
"connect": "37.27.129.30:60410",
"request": "37.27.129.30:60412",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770029800,
"last_update": 1776834653,
"banned": false,
"wipe": 1775200279,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4478,
"language": "fi",
"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/11101821");
$data = json_decode($json, true);
var_dump($data);