Rust
API для [EU] Naked Asylum - 10X Weekly|NO BPs|KITS|CLANS|TP|QOL
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11305310json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 103186,
"world_seed": 1387328348,
"world_size": 4250,
"steam_id": "90285640102369292",
"domain": null,
"id": 11305310,
"ip": "145.239.131.220",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Roubaix",
"description": "![[EU] Naked Asylum - 10X Weekly|NO BPs|KITS|CLANS|TP|QOL](https://nakedasylum.com/rust_banner.png)\n[EU] Naked Asylum - 10X Weekly|NO BPs|KITS|CLANS|TP|QOL\n\n▼ Basic Information:\n• Wipes every week on a thursday at @4PM BST, all blueprints unlocked and never wipe\n• Group limit 8 max\n• 10x Gather Rates, 10x Stacks, 10x Smelting Speeds and Instant Craft!\n• Spawn vehicles Mini, Scrap, Boat and Cars\n• Clans, Events, Kits, Homes, Teleport, Auto Door and Code Locks\n• Faster bed respawn timers\n• Full workbench anywhere with all items are unlocked by default",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778539980,
"score": 0,
"last_online": 1778550618,
"icon": null,
"name": "[EU] Naked Asylum - 10X Weekly|NO BPs|KITS|CLANS|TP|QOL",
"connect": "145.239.131.220:28015",
"request": "145.239.131.220:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774592883,
"last_update": 1778550618,
"banned": false,
"wipe": 1778199343,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4541,
"language": "fr",
"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/11305310");
$data = json_decode($json, true);
var_dump($data);