API dla Apex Rust 2X Quad | Weekly Wipes | No P2W
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 223,
"fps_avg": 219,
"entities_count": 74350,
"world_seed": 132527066,
"world_size": 3700,
"steam_id": "90286427078456330",
"domain": null,
"id": 11502490,
"ip": "78.108.218.57",
"port": 28022,
"query": 28023,
"color": 0,
"city": "Ashburn",
"description": "\nWelcome to Apex Rust! Apex Rust is a balanced 2X Rust server built for competitive but chill gameplay. Enjoy faster progression, clean loot, active staff, and a fair no pay-to-win experience. 2X Gather Rates 2X Crafting Speed 2X Components and Scrap Solo/Duo/Trio/Quad Teams No Pay To Win Bi-Weekly Wipes Active Staff Balanced Loot Beginner Friendly Grinding & PvP Focused discord.gg/apexrust",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780200236,
"last_online": 1780626034,
"icon": null,
"name": "Apex Rust 2X Quad | Weekly Wipes | No P2W",
"connect": "78.108.218.57:28022",
"request": "78.108.218.57:28023",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 120,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207201,
"last_update": 1780626034,
"banned": false,
"wipe": 1780200706,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4679,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11502490");
$data = json_decode($json, true);
var_dump($data);