Rust
API pentru [NOR] NOOB ADVENTURE [NEXT WIPE 7/5]
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/8764724json
{
"response": {
"fps": 30,
"fps_avg": 27,
"entities_count": 77843,
"world_seed": 799216758,
"world_size": 3700,
"steam_id": "90284867663237139",
"domain": null,
"id": 8764724,
"ip": "83.143.81.182",
"port": 28215,
"query": 28216,
"color": 0,
"city": "Oslo",
"description": "\nWelcome to KMan Marvellous 2x, a friendly and balanced Rust PvP server with just the right touch of mods to keep things exciting—without ruining the core gameplay. \r\n \r\n Server Features: \r\n \r\n 2x Gather Rate for Wood and Stone – build up fast! \r\n \r\n Vanilla Sulfur Rates – preserve raid balance \r\n \r\n Team Limit: Trio (3 Max) – fair fights, more action \r\n \r\n Biweekly Wipes (Map) + Monthly BP Wipes \r\n \r\n Recycler Access at Monuments – recycle on the go! \r\n \r\n EU Hosted – stable and low latency for European players \r\n \r\n Friendly and active community \r\n \r\n Light modding for smoother gameplay (no overpowered kits) \r\n \r\n ⚠️ Rules: \r\n \r\n No Racism – \r\n \r\n Respect others and play fair",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775621005,
"score": 0,
"last_online": 1776979223,
"icon": null,
"name": "[NOR] NOOB ADVENTURE [NEXT WIPE 7/5]",
"connect": "83.143.81.182:28215",
"request": "83.143.81.182:28216",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "NO",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1745968151,
"last_update": 1776979223,
"banned": false,
"wipe": 1775157091,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3457,
"language": "no",
"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/8764724");
$data = json_decode($json, true);
var_dump($data);