API pentru [AU/NZ] Vanilla+ | 2x Ores | Monthly | Max 4
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 99,
"fps_avg": 98,
"entities_count": 64555,
"world_seed": 102909,
"world_size": 3500,
"steam_id": "90286378469021720",
"domain": null,
"id": 11677620,
"ip": "51.161.198.94",
"port": 28020,
"query": 28021,
"color": 0,
"city": "North Sydney",
"description": "![[AU/NZ] Vanilla+ | 2x Ores | Monthly | Max 4](https://i.ibb.co/TwnSdCM/Rust-Header-Image-Raised.png)\n1.5x Resources \r\nNew Player Friendly\r\nDecreased Crate Timer\r\nRemoved Junk In barrels\r\nIncreased Smelting Rate\r\nDeepsea\r\nVanilla Stacking\r\nMap Size 3500\r\nDecay 50%",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780216217,
"last_online": 1780633231,
"icon": null,
"name": "[AU/NZ] Vanilla+ | 2x Ores | Monthly | Max 4",
"connect": "51.161.198.94:28020",
"request": "51.161.198.94:28021",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780216217,
"last_update": 1780633231,
"banned": false,
"wipe": 1779364050,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5484,
"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/11677620");
$data = json_decode($json, true);
var_dump($data);