API для Zyzzx's Big Chill ( free helis & building )
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1780388555,
"app": {
"id": 12,
"name": "Rust",
"steam_id": 252490,
"url": "rust"
},
"color": 0,
"connect": "157.85.93.60:28015",
"country": "US",
"domain": null,
"game": 252490,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11725647,
"ip": "157.85.93.60",
"language": "en",
"last_update": 1790377311,
"map": "Procedural Map",
"maxplayers": 40,
"name": "Zyzzx's Big Chill ( free helis & building )",
"numplayers": 2,
"official": null,
"points": 62,
"port": 28015,
"private": false,
"project_id": null,
"pve": 0,
"pvp": null,
"query": 28016,
"request": "157.85.93.60:28016",
"secured": true,
"status": true,
"steam_id": "90293410015588372",
"version": "2633",
"votes": 0,
"wipe": 1788460510,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Даллас",
"description": "fly helicopters\r\nbuild whatever\r\n( /mymini /myattack /myheli )",
"disabled_modules": [],
"gamemode": "Survival",
"hidden": false,
"last_offline": 1790350894,
"last_online": 1790377311,
"list_hidden": false,
"map_url": "procedural_map_5000_seed_118789946_r288",
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1730,
"wipe_period": null,
"fps": 86,
"gmn": "rust",
"url": "https://www.rustforcewipe.com/",
"hash": "f506ca7",
"build": "165217",
"gc_cl": "109",
"gc_mb": "3837",
"fps_avg": 83,
"ram_sys": "0",
"map_kind": "procedural",
"map_name": "Procedural Map",
"map_seed": 118789946,
"map_size": 5000,
"logoimage": "",
"listentype": "d",
"environment": "l",
"headerimage": "",
"a2s_protocol": 17,
"map_revision": 288,
"queueplayers": 0,
"map_image_url": "https://files.facepunch.com/rust/map-images/cb4e1e6c15439b3697e30bbe399ea9b3b1b8d4c1ab4181f005cdf0e9485bbc0b/proceduralmap.5000.1788460410470.288_cb4e1e6c15439b3697e30bbe399ea9b3.jpg",
"entities_count": 155291,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11725647");
$data = json_decode($json, true);
var_dump($data);