API pentru [WRB] WORK RUST BALANCE PVE
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 233,
"fps_avg": 225,
"entities_count": 36242,
"world_seed": 1337,
"world_size": 2500,
"steam_id": "90286602999766024",
"domain": null,
"id": 11501685,
"ip": "188.165.36.94",
"port": 28015,
"query": 27015,
"color": 0,
"city": "Roubaix",
"description": "![[WRB] WORK RUST BALANCE PVE](https://image2url.com/r2/default/images/1773911573494-2b6f2783-438d-4c68-88b2-f567aadfdfb8.jpg)\n\r\nWelcome to Work-Rust-Balance PVE!Come in and let's have fun!PVE Vanilla server with custom map and minimal modifications:- Gather x2- 50% upkeepFor more infos type /info in ingame chat!We are a fun bunch and welcome every player. Whether beginner or experienced, everyone is welcome.On our Discord server we are always open to good ideas and change suggestions, so everyone can have a say in where the journey should go. :)We mostly design the maps ourselves, here fun is the top priority!So join us. We look forward to seeing you!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779299537,
"last_online": 1780604434,
"icon": null,
"name": "[WRB] WORK RUST BALANCE PVE",
"connect": "188.165.36.94:28015",
"request": "188.165.36.94:27015",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207178,
"last_update": 1780604434,
"banned": false,
"wipe": 1780593847,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4607,
"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/11501685");
$data = json_decode($json, true);
var_dump($data);