API для Krust Network | 2x Solo/Duo/Trio - Weekly | EU
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 230,
"fps_avg": 227,
"entities_count": 56602,
"world_seed": 333333333,
"world_size": 3250,
"steam_id": "90286246413828114",
"domain": null,
"id": 11501597,
"ip": "51.38.155.248",
"port": 24336,
"query": 24337,
"color": 0,
"city": "Warsaw",
"description": "\nWe offer:\r\n- 2x custom loot\r\n- Experienced non-playing admins\r\n- Faster smelt and recycle speed\r\n- Autoauth and blueprint share\r\n- Random spawn on map\r\n- Frequent Discord events \r\n- Balanced kits and ranks\r\n- Quick support and fixes\r\n- 99.99% uptime with minimal lag\r\n\r\nOur Discord: https://discord.gg/DjZTYXDR8b",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780562617,
"last_online": 1779966623,
"icon": null,
"name": "Krust Network | 2x Solo/Duo/Trio - Weekly | EU",
"connect": "51.38.155.248:24336",
"request": "51.38.155.248:24337",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 2,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207176,
"last_update": 1780562617,
"banned": false,
"wipe": 1778705732,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11312,
"language": "pl",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11501597");
$data = json_decode($json, true);
var_dump($data);