API для A.O.P. 2X | Solo/Duo | No BP Wipe | Kits | Noob Friendly
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 111,
"fps_avg": 104,
"entities_count": 121122,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286603979575326",
"domain": null,
"id": 6282331,
"ip": "204.13.232.82",
"port": 18475,
"query": 18476,
"color": 0,
"city": "Secaucus",
"description": "\nArmy Of Pissants\r\nCustom Map: TWD Atlanta\r\nLong Day & Short Nights\r\nMonument Recyclers & Drone Marketplaces\r\nInstant Craft & Recyclers\r\nRaidable Bases, TrainHeist\r\nKits, 2x Gather\r\nSkinBox, Raid Guards/Counter Raiders\r\nDaly Server Reboot @ 2pm EST\r\nEnjoy the server and have fun.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779300184,
"last_online": 1780597237,
"icon": null,
"name": "A.O.P. 2X | Solo/Duo | No BP Wipe | Kits | Noob Friendly",
"connect": "204.13.232.82:18475",
"request": "204.13.232.82:18476",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1729463121,
"last_update": 1780597237,
"banned": false,
"wipe": 1778363160,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2225,
"language": "en",
"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/6282331");
$data = json_decode($json, true);
var_dump($data);