【青岩-PVE服】原倍/萌新/突袭据点 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 48,
"fps_avg": 50,
"entities_count": 193850,
"world_seed": 1761122244,
"world_size": 4500,
"steam_id": 90286613059864590,
"domain": null,
"id": 11502547,
"ip": "202.189.5.194",
"port": 10030,
"query": 10032,
"color": 0,
"city": "Beijing",
"description": "欢迎来到服务器,企鹅群:293371154请勿使用外挂,鼠标宏等,违者封禁\r\nF1输入指令:bind b backpack.open绑定背包 绑定后按B打开额外的背包\r\n禁止偷东西,发现立ban\r\n无氪金项目\r\n每天早上5点重启\r\n不防盗,但如果有确实证据照ban",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780617254,
"last_online": 1780663402,
"icon": null,
"name": "【青岩-PVE服】原倍/萌新/突袭据点",
"connect": "202.189.5.194:10030",
"request": "202.189.5.194:10032",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 103,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 84,
"add_date": 1779207203,
"last_update": 1780663402,
"banned": false,
"wipe": 1780616275,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 552,
"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/11502547");
$data = json_decode($json, true);
var_dump($data);