API pentru Rust Cave EU 2X Monthly | Vanilla+ | No BP Wipes
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6845898,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 252490,
"owner": 51635,
"boosts": 1,
"last_offline": 1750457066,
"last_online": 1737840036,
"icon": null,
"name": "Rust Cave EU 2X Monthly | Vanilla+ | No BP Wipes",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1733678209,
"last_update": 1750457066,
"banned": false,
"wipe": 1735845491,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13105,
"language": "de",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "GreenHellPlayer",
"avatar": "ff1e8bde-2d06-451f-a6e9-bcaeb1a0bb10.jpg"
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/6845898");
$data = json_decode($json, true);
var_dump($data);