#1 ZBS HARDFUN PVE RU+EN|RAIDBASE|Збс ПВЕ! 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6186231,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "\nEnglish and Russian languages!\r\nПоддержка русского и английского языка!\r\nMany events!! [RaidBases! BP,Mini,Shop,Skins,NPC+,Bosses, Quests,much Fun!]\r\nКуча Эвентов! Рейд Базы, Магазин, Боссы!\r\nВесёлый жесткий PVE сервер(без возможности убивать и рейдить других игроков)\r\nFunny and hard PVE server(without raid and kill players)\r\n\r\nРейты x5 на всё! - Rates x5 for All!",
"game": 252490,
"owner": 89870,
"boosts": 1,
"last_offline": 1758284167,
"last_online": 1753678821,
"icon": null,
"name": "#1 ZBS HARDFUN PVE RU+EN|RAIDBASE|Збс ПВЕ!",
"connect": null,
"request": null,
"map": "Custom Map",
"gamemode": "Survival",
"version": null,
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": false,
"private": false,
"country": "CY",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1728257826,
"last_update": 1758284167,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13227,
"language": "el",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "romancyprus",
"avatar": "f554423e-cbcf-4e52-9047-ac8b35ac13c2.jpg"
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/6186231");
$data = json_decode($json, true);
var_dump($data);