Rust
API für 永久-Ai首选|4.21|16:00档|4人|萌新|3倍
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11305629json
{
"response": {
"fps": 144,
"fps_avg": 138,
"entities_count": 89833,
"world_seed": 570489668,
"world_size": 4000,
"steam_id": "90284791294449694",
"domain": null,
"id": 11305629,
"ip": "202.189.5.242",
"port": 40020,
"query": 40021,
"color": 0,
"city": "Beijing",
"description": "\n\r\n[服宣]: 无权限-无假人.\r\n[清档]: 每周五下午16点-蓝图随官清.\r\n[服宣]: 查挂方式:观战录屏-腐竹远程.\r\n[服规]: 进服后聊天输入: /gz 查看规则.\r\n[加群礼包]: 添加QQ群号进群: 648854506.\r\n[服规]: 禁无间道-禁黄色-禁宏-禁挂-禁卡BUG.\r\n[服宣]: 黑洞防御-保障服务器被攻击不掉线-稳定畅玩.\r\n[服宣]: 黑号-隐私号-如被自动踢出服务器-请加群咨询.\r\n[服宣]: 服务器玩家类型:妹子多-萌新-学生党-上班族-养老独狼玩家.\r\n[服宣]: 选择本服务器的理由:没有权限-三倍资源-游戏界面干净-修改较少.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776819796,
"score": 0,
"last_online": 1776836417,
"icon": null,
"name": "永久-Ai首选|4.21|16:00档|4人|萌新|3倍",
"connect": "202.189.5.242:40020",
"request": "202.189.5.242:40021",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 26,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 69,
"add_date": 1774592894,
"last_update": 1776836417,
"banned": false,
"wipe": 1775809510,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 588,
"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/11305629");
$data = json_decode($json, true);
var_dump($data);