『启源PVE』5倍/自动化种植/养殖/BOSS/突袭 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 62,
"fps_avg": 62,
"entities_count": 110958,
"world_seed": 1337,
"world_size": 4700,
"steam_id": "90286610080251929",
"domain": null,
"id": 11645101,
"ip": "202.189.23.225",
"port": 10001,
"query": 10002,
"color": 0,
"city": "Beijing",
"description": "\n❀❀❀❀❀❀❀❀❀服务器PVE5倍服❀❀❀❀❀❀❀❀❀\r\n\r\n游戏内玩家死亡不落\r\n游戏内有各种事件玩法\r\n新人进服了解帮助查看物资获取方法\r\n游戏内有各种新手礼包\r\n欢迎各位玩的开心,挑战极限强大的快感吧!\r\n如有问题您可以在游戏快捷键,选择问题反馈管理员第一时间给您解决!\r\n\r\n点击左下方访问网页一键进入QQ群:124723031",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780605203,
"last_online": 1780648227,
"icon": null,
"name": "『启源PVE』5倍/自动化种植/养殖/BOSS/突袭",
"connect": "202.189.23.225:10001",
"request": "202.189.23.225:10002",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177447,
"last_update": 1780648227,
"banned": false,
"wipe": 1780604565,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2548,
"language": "zh",
"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.in/servers/11645101");
$data = json_decode($json, true);
var_dump($data);