API für [大熊PVE]二服/2倍/建造种田/僵尸/副本/死亡不掉
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 56,
"fps_avg": 55,
"entities_count": 160345,
"world_seed": 1337,
"world_size": 4300,
"steam_id": "90286219078341657",
"domain": null,
"id": 11305576,
"ip": "202.189.23.225",
"port": 20001,
"query": 20004,
"color": 0,
"city": "Beijing",
"description": "![[大熊PVE]二服/2倍/建造种田/僵尸/副本/死亡不掉](https://xiong.rustxz.com/logo56.png)\n\r\n\r\n1.完善的小怪和经济系统. 按 TAB键 点击<快捷菜单>查看玩法 \r\n2.月清、事件多, 总体倍率 2X左右, 建筑可以上锁防盗 \r\n3.无权限, 有自动化, 死亡不掉落, 并且有传送功能 \r\n4.有各类不影响平衡的,自动化高科技插件 \r\n5.如不能登录请更换STEAM商店加速线路, 或关闭加速器 \r\n6.点击左下角网页链接进入QQ群: 972897961",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779680606,
"last_online": 1779776419,
"icon": null,
"name": "[大熊PVE]二服/2倍/建造种田/僵尸/副本/死亡不掉",
"connect": "202.189.23.225:20001",
"request": "202.189.23.225:20004",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1774592892,
"last_update": 1779776419,
"banned": false,
"wipe": 1770278651,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1382,
"language": "zh",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11305576");
$data = json_decode($json, true);
var_dump($data);