Rust
API pentru SEA | Eclipse | PVE 5x | Newbie Friendly | Events | Perfectly M
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10714594json
{
"response": {
"fps": 107,
"fps_avg": 105,
"entities_count": 127612,
"world_seed": 1712926251,
"world_size": 4500,
"steam_id": "90285656184841236",
"domain": null,
"id": 10714594,
"ip": "15.235.234.147",
"port": 27100,
"query": 27102,
"color": 0,
"city": "Singapore",
"description": "\nEclipse is a Friendly PVE server. Monthly Wipes only. Join our discord by clicking 'view webpage' or use this link https://discord.gg/y5BqqjajEz\n\n-Raidable Bases with tons of base designs\n-Skill Tree\n-Convoy that roams around the road\n-Tons of PVE Events\nJoin our discord to find out more : https://discord.gg/y5BqqjajEz",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778570580,
"score": 0,
"last_online": 1778584817,
"icon": null,
"name": "SEA | Eclipse | PVE 5x | Newbie Friendly | Events | Perfectly M",
"connect": "15.235.234.147:27100",
"request": "15.235.234.147:27102",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1765132219,
"last_update": 1778584817,
"banned": false,
"wipe": 1778205288,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2295,
"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/10714594");
$data = json_decode($json, true);
var_dump($data);