Survivors.gg Main [ 2x Vanilla ] FULLWIPED 22.05 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 12,
"fps_avg": 10,
"entities_count": 182900,
"world_seed": 11951,
"world_size": 4250,
"steam_id": 90286079860613120,
"domain": null,
"id": 2417028,
"ip": "205.178.168.166",
"port": 28010,
"query": 28011,
"color": 0,
"city": "London",
"description": "![Survivors.gg Main [ 2x Vanilla ] FULLWIPED 22.05](https://www.survivors.gg/temp/server2.png)\nJoin Us: www.discord.survivors.gg \r\n\r\n - Map wipes every Friday at 18:00 CEST \r\n - Fullwipes every 2 weeks \r\n - Max Team: No Limit \r\n - Electric BP's are unlocked \r\n - 2x Gather Rates \r\n - Half smelt, crafting speeds \r\n - 5min nights \r\n - Fishing Village and Large Barn with Recycler",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778784177,
"last_online": 1779476409,
"icon": null,
"name": "Survivors.gg Main [ 2x Vanilla ] FULLWIPED 22.05",
"connect": "205.178.168.166:28010",
"request": "205.178.168.166:28011",
"map": "Just | Wiped - 3h ago",
"gamemode": "Survival",
"version": "2625",
"numplayers": 991,
"maxplayers": 1000,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 140,
"add_date": 1704286682,
"last_update": 1779476409,
"banned": false,
"wipe": 1779465519,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 27,
"language": "en",
"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/2417028");
$data = json_decode($json, true);
var_dump($data);