API для ORGANA
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787665918,
"app": {
"id": 12,
"name": "Rust",
"steam_id": 252490,
"url": "rust"
},
"color": 0,
"connect": "5.57.34.11:28015",
"country": "IR",
"domain": null,
"game": 252490,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14068764,
"ip": "5.57.34.11",
"language": "fa",
"last_update": 1791250363,
"map": "Procedural Map",
"maxplayers": 10,
"name": "ORGANA",
"numplayers": 0,
"official": null,
"points": 0,
"port": 28015,
"private": false,
"project_id": null,
"pve": 0,
"pvp": null,
"query": 28016,
"request": "5.57.34.11:28016",
"secured": true,
"status": false,
"steam_id": "90292480602587165",
"version": "2633",
"votes": 0,
"wipe": 1788984227,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Тегеран",
"description": "ORGANA PvE Server",
"disabled_modules": [],
"gamemode": "Survival",
"hidden": false,
"last_offline": 1791250363,
"last_online": 1790450537,
"list_hidden": false,
"map_url": "procedural_map_3000_seed_12345_r288",
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 13546,
"wipe_period": null,
"fps": 95,
"gmn": "rust",
"url": "",
"hash": "d58cd7e4",
"build": "163493",
"gc_cl": "619",
"gc_mb": "4802",
"fps_avg": 99,
"ram_sys": "0",
"map_kind": "procedural",
"map_name": "Procedural Map",
"map_seed": 12345,
"map_size": 3000,
"logoimage": "",
"listentype": "d",
"environment": "w",
"headerimage": "",
"a2s_protocol": 17,
"map_revision": 288,
"queueplayers": 0,
"map_image_url": "https://files.facepunch.com/rust/map-images/ce316bec48e69801fdbddafd148bcb63c4ea9cd1a1233616582b0ee1e1d1cbde/proceduralmap.3000.1788984013779.288_ce316bec48e69801fdbddafd148bcb63.jpg",
"entities_count": 43826,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14068764");
$data = json_decode($json, true);
var_dump($data);