Rust
API pentru West-X PVE X100
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10805097json
{
"response": {
"fps": 49,
"fps_avg": 46,
"entities_count": 205945,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90285700688587797",
"domain": null,
"id": 10805097,
"ip": "138.201.138.59",
"port": 30144,
"query": 30145,
"color": 0,
"city": "Falkenstein",
"description": "\nWelcome to West-X PVE X100,\r\n\r\na Rust server designed for players who love a cooperative\r\nand really relaxed gameplay experience.\r\nWith a focus on easy levels and only a few NPC,\r\nour server offers twice the gathering rates (X100)\r\nfor a more enjoyable and less grindy progression.\r\nJoin us to explore, build, and survive\r\nin a friendly community where teamwork and creativity thrive.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778583179,
"score": 0,
"last_online": 1778704817,
"icon": null,
"name": "West-X PVE X100",
"connect": "138.201.138.59:30144",
"request": "138.201.138.59:30145",
"map": "Boscage Island",
"gamemode": "Survival",
"version": "2625",
"numplayers": 8,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1766921195,
"last_update": 1778704817,
"banned": false,
"wipe": 1778178401,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1620,
"language": "de",
"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/10805097");
$data = json_decode($json, true);
var_dump($data);