API для Iran Luna Super PVE V.2 Beta
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790884378,
"app": {
"id": 12,
"name": "Rust",
"steam_id": 252490,
"url": "rust"
},
"color": 0,
"connect": "5.42.223.70:28015",
"country": "IR",
"domain": null,
"game": 252490,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17589639,
"ip": "5.42.223.70",
"language": "fa",
"last_update": 1791223424,
"map": "Procedural Map",
"maxplayers": 77,
"name": "Iran Luna Super PVE V.2 Beta",
"numplayers": 0,
"official": null,
"points": 0,
"port": 28015,
"private": false,
"project_id": null,
"pve": 0,
"pvp": null,
"query": 28025,
"request": "5.42.223.70:28025",
"secured": true,
"status": false,
"steam_id": "90293881272631306",
"version": "2634",
"votes": 0,
"wipe": 1790883276,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Тегеран",
"description": "\n/rg",
"disabled_modules": [],
"gamemode": "Survival",
"hidden": false,
"last_offline": 1791223424,
"last_online": 1790954581,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 23452,
"wipe_period": null,
"fps": 115,
"gmn": "rust",
"url": "https://luna.gamestores.app",
"hash": "85403678",
"build": "166494",
"gc_cl": "206",
"gc_mb": "1910",
"fps_avg": 133,
"ram_sys": "0",
"map_kind": "procedural",
"map_name": "Procedural Map",
"map_seed": 876816796,
"map_size": 3500,
"logoimage": "https://gspics.org/images/2022/11/20/0X9G0w.jpg",
"listentype": "d",
"environment": "w",
"a2s_protocol": 17,
"map_revision": 289,
"queueplayers": 0,
"map_image_url": "https://files.facepunch.com/rust/map-images/8ed0b9b20e522d90daa2f7085c146660c3097e9ba886cc16d0a7b3854ade18ff/proceduralmap.3500.1790883218639.289_8ed0b9b20e522d90daa2f7085c146660.jpg",
"entities_count": 51690,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17589639");
$data = json_decode($json, true);
var_dump($data);