TIDE | VIP Map Preview 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 67432,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90286602367245314",
"domain": null,
"id": 11606652,
"ip": "195.60.166.126",
"port": 28037,
"query": 28035,
"color": 0,
"city": "City of London",
"description": "\nGET WHITELISTED @ STORE.TIDERUST.COM\r\nPrivate preview server for our VIP+ members to use to test out the maps that are currently being voted on. It operates on a 2 hour rotating cycle to allow multiple map votes to be shown, schedule in discord.gg/tide.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780654403,
"last_online": 1780593628,
"icon": null,
"name": "TIDE | VIP Map Preview",
"connect": "195.60.166.126:28037",
"request": "195.60.166.126:28035",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915478,
"last_update": 1780654403,
"banned": false,
"wipe": 1780528059,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11696,
"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/11606652");
$data = json_decode($json, true);
var_dump($data);