[US] Outlast | Solo Only | 2x | NoOfflineRaid 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 254,
"fps_avg": 251,
"entities_count": 35345,
"world_seed": 690250747,
"world_size": 2500,
"steam_id": "90286555008241678",
"domain": null,
"id": 11744618,
"ip": "15.204.152.118",
"port": 22033,
"query": 22034,
"color": 0,
"city": "Reston",
"description": "![[US] Outlast | Solo Only | 2x | NoOfflineRaid](https://i.imgur.com/AYm45Wa.jpeg)\nOutlast is a tight-knit solo PVP server for players who want real fights without the zerg.\r\nSmall population means every encounter matters\r\nNo hiding in the crowd.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780518716,
"last_online": 1780569636,
"icon": null,
"name": "[US] Outlast | Solo Only | 2x | NoOfflineRaid",
"connect": "15.204.152.118:22033",
"request": "15.204.152.118:22034",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780518716,
"last_update": 1780569636,
"banned": false,
"wipe": 1779530348,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6140,
"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/11744618");
$data = json_decode($json, true);
var_dump($data);