API pentru FutureIL | 5x Modded - ילארשי תרש | RustIL
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 94,
"fps_avg": 97,
"entities_count": 45452,
"world_seed": 3964015,
"world_size": 3000,
"steam_id": "90286200547909637",
"domain": null,
"id": 11511369,
"ip": "185.206.151.213",
"port": 28018,
"query": 28020,
"color": 0,
"city": "Solihull",
"description": "\n- Welcome to RustIL by FutureIL\r\n- Israel’s Ultimate PvP Rust Survival Servers!\r\n- Kill or be killed. No second chances.\r\n\r\n\r\n- - Server Info:\r\n\r\n- Group Limit: (3)\r\n- Active Staff\r\n- 5x Gather\r\n- 5x Sulfur\r\n- 5x Crafting\r\n- Custom Loot & Maps\r\n- Fast Smelt\r\n- Extended Workbench Range\r\n- Extra Recyclers\r\n- Long Days & Short Nights\r\n- discord.gg/RustIL",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780551816,
"last_online": 1779729623,
"icon": null,
"name": "FutureIL | 5x Modded - ילארשי תרש | RustIL",
"connect": "185.206.151.213:28018",
"request": "185.206.151.213:28020",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779353842,
"last_update": 1780551816,
"banned": false,
"wipe": 1778494086,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11893,
"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/11511369");
$data = json_decode($json, true);
var_dump($data);