API dla 土豆/PVE/10倍废/等级强化/抽奖礼包/死亡不掉
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 58,
"fps_avg": 54,
"entities_count": 114025,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286540468893704",
"domain": null,
"id": 11305619,
"ip": "45.125.45.242",
"port": 50000,
"query": 50001,
"color": 0,
"city": "Jinan",
"description": "QQ群:789988802 \r\n1.PVE模式, 玩家之间无伤害。\r\n2.玩家背包防盗,防止掠夺。\r\n3.提高动物、僵尸、科学家数量,增强PVE乐趣。\r\n4.海量皮肤,无需购买。\r\n5.完美RPG模式,武器强化,boss挑战。\r\n6.超级武装直升级,突袭基地,超级坦克。",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780567468,
"last_online": 1780605034,
"icon": null,
"name": "土豆/PVE/10倍废/等级强化/抽奖礼包/死亡不掉",
"connect": "45.125.45.242:50000",
"request": "45.125.45.242:50001",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774592893,
"last_update": 1780605034,
"banned": false,
"wipe": 1780280400,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4397,
"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/11305619");
$data = json_decode($json, true);
var_dump($data);