API dla 【独来独往】6.8新档|3倍|独狼Solo|通行证|拾取
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 225,
"fps_avg": 225,
"entities_count": 107423,
"world_seed": 46000,
"world_size": 4200,
"steam_id": "90286744704115738",
"domain": null,
"id": 10460252,
"ip": "110.42.9.116",
"port": 28030,
"query": 28032,
"project_id": null,
"color": 0,
"city": "Ningbo",
"description": "\n↗欢迎来到【独来独往】生存服务器↖\n☞本服务器资源倍数为所有资源3倍,零件2倍,熔炉2倍\n☞进群领取生存礼包:【88838820】\n☞本服唯一指定Q群:【88838820】\n★本服严查外挂/鼠标宏,一人查实全队封禁!\n★本服绝不出售任何爆炸物或相关物品。\n★本服所有管理员均不参与游戏。\n★本服禁止利用游戏BUG进行游戏,一经发现踢出服务器。\n☞本服务器为I9 14900K高性能独立稳定服务器,长久稳定,请放心玩耍。\n▂▂▂▂▂▂▂▂▃▃▃▅▅▅▆▅▅▅▃▃▃▂▂▂▂▂▂▂▂\n♠③倍资源 ♠②倍零件 ♠⑩倍堆叠 ♠②倍熔炉\n♠限制一人 ♠自动拾取 ♠生存礼包 ♠自动放置\n♠睡袋加速 ♠制作加速 ♠在线奖励 ♠通 行 证",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780860863,
"last_online": 1780911628,
"icon": null,
"name": "【独来独往】6.8新档|3倍|独狼Solo|通行证|拾取",
"connect": "110.42.9.116:28030",
"request": "110.42.9.116:28032",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1760474449,
"last_update": 1780911628,
"banned": false,
"wipe": 1780651823,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3704,
"language": "zh",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/10460252");
$data = json_decode($json, true);
var_dump($data);