Survivors.gg #3 [ 2x Solo/Duo/Trio ] WIPED 10.06 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 32,
"fps_avg": 32,
"entities_count": 137313,
"world_seed": 11983,
"world_size": 3700,
"steam_id": "90286991395171344",
"domain": null,
"id": 11781461,
"ip": "194.54.88.101",
"port": 28024,
"query": 28025,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "![Survivors.gg #3 [ 2x Solo/Duo/Trio ] WIPED 10.06](https://www.survivors.gg/temp/server2.png)\nJoin Us: www.discord.survivors.gg \r\n\r\n - Map wipes every Wednesdays at 14:00 CEST \r\n Fullwipe every Sunday 15:00 CEST \r\n - Max Team: 3 \r\n - Electric BP's are unlocked \r\n - 2x Gather \r\n - Half smelt, crafting speeds \r\n - 5min nights \r\n - Fishing Village and Large Barn with Recycler \r\n - no Kits, no TP and no P2W!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781376775,
"last_online": 1781432427,
"icon": null,
"name": "Survivors.gg #3 [ 2x Solo/Duo/Trio ] WIPED 10.06",
"connect": "194.54.88.101:28024",
"request": "194.54.88.101:28025",
"map": "Just | Wiped - 3d ago",
"gamemode": "Survival",
"version": "2627",
"numplayers": 14,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1781376775,
"last_update": 1781432427,
"banned": false,
"wipe": 1781092766,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1444,
"language": "de",
"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.cn/servers/11781461");
$data = json_decode($json, true);
var_dump($data);