API для DZ Raiders | Thursday Wipes
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794572520,
"app": {
"id": 12,
"name": "Rust",
"steam_id": 252490,
"url": "rust"
},
"color": 0,
"connect": "41.109.139.112:28015",
"country": "DZ",
"domain": null,
"game": 252490,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20074776,
"ip": "41.109.139.112",
"language": "ar",
"last_update": 1794686503,
"map": "Procedural Map",
"maxplayers": 50,
"name": "DZ Raiders | Thursday Wipes",
"numplayers": 0,
"official": null,
"points": 0,
"port": 28015,
"private": false,
"project_id": null,
"pve": 0,
"pvp": null,
"query": 28017,
"request": "41.109.139.112:28017",
"secured": true,
"status": false,
"steam_id": "90297379487278110",
"version": "2636",
"votes": 0,
"wipe": 1794491857,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Медея",
"description": "\nDZ Raiders\r\n- Marhaban bikom\r\n• Biweekly wipe: Thursday at 15:00\r\n• Active admins & fair play\r\n• No pay-to-win\r\n• Optimized performance & low lag\r\n• Perfect for PvP & raiding\r\nJoin now, build fast, raid hard, and dominate the server",
"disabled_modules": [],
"gamemode": "Vanilla",
"hidden": false,
"last_offline": 1794686503,
"last_online": 1794657677,
"list_hidden": false,
"map_url": "procedural_map_3500_seed_1444486954_r290",
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 25346,
"wipe_period": null,
"fps": 205,
"gmn": "vanilla",
"url": "https://discord.gg/mxCqpDRUub",
"hash": "d814ade3",
"build": "170545",
"gc_cl": "170",
"gc_mb": "2022",
"fps_avg": 207,
"ram_sys": "0",
"map_kind": "procedural",
"map_name": "Procedural Map",
"map_seed": 1444486954,
"map_size": 3500,
"logoimage": "https://blida.me/logo.png",
"listentype": "d",
"environment": "l",
"a2s_protocol": 17,
"map_revision": 290,
"queueplayers": 0,
"map_image_url": "https://files.facepunch.com/rust/map-images/613edd5663e3af33823eaa6a7229772903f5bdad82d77c526c3543da7c6c34f7/proceduralmap.3500.1794491821763.290_613edd5663e3af33823eaa6a72297729.jpg",
"entities_count": 71000,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20074776");
$data = json_decode($json, true);
var_dump($data);