Rust
『柠萌PVE』死亡不掉 | 无限成长 | 高手进阶 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/8675952json
{
"response": {
"modded": true,
"fps": 64,
"fps_avg": 65,
"entities_count": 161447,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90285640080246791",
"domain": null,
"id": 8675952,
"ip": "110.42.109.62",
"port": 21015,
"query": 21018,
"color": 0,
"city": "Ningbo",
"description": "\n\r\n欢迎各位~本服物资丰富,轻松上手,非常友善和谐的PVE社区,适合上班族、萌新及养老玩家游玩!本服QQ群:500022602,特色玩法如下:\r\n【任务】为增加PVE乐趣,服内任务有:土匪据点、家园守卫、对战武直、卫星坠落、装甲列车、重型坦克等。\r\n【载具】可使用废料来解锁各种载具,随时召唤/收回。\r\n【礼包】新手礼包、节日礼包、滑索礼包等丰厚礼包助力开荒。\r\n【倍率】基础资源及废料为2倍,其他原倍,保留了低倍开荒的乐趣\r\n【装饰商店】免费使用节日、付费DLC道具,包括衣服、物品、绝版道具等\r\n【高级制作】可在工作台使用各种资源制作各种绝版、地图道具可自行放置,如:火箭车、赌博轮盘、金库大门、老虎机、购物终端、电话亭等\r\n【其他】扩展背包、传送、各种皮肤、画板贴图、彩名、夜视以及更多功能免费使用\r\n【注意】本服禁止一切不友好行为,请勿影响他人正常游戏!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778367182,
"score": 0,
"last_online": 1778599944,
"icon": null,
"name": "『柠萌PVE』死亡不掉 | 无限成长 | 高手进阶",
"connect": "110.42.109.62:21015",
"request": "110.42.109.62:21018",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 12,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1745516104,
"last_update": 1778599944,
"banned": false,
"wipe": 1778179679,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1496,
"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/8675952");
$data = json_decode($json, true);
var_dump($data);