[US] Cynic Battlefield - 1,000,000X 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 117066,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286498281762841",
"domain": null,
"id": 11731597,
"ip": "199.47.146.212",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Dallas",
"description": "[US] Cynic Battlefield - 1,000,000X, Active Admin, wipes twice a week, active admin team. • Instant craft and permanent T3 workbench effect • Stack sizes overhauled • /mini, /home /tpr /tpa, clan systemDiscord: discord.gg/cynic • Store: store.cynic-hosting.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780411278,
"last_online": 1780515033,
"icon": null,
"name": "[US] Cynic Battlefield - 1,000,000X",
"connect": "199.47.146.212:28015",
"request": "199.47.146.212:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 500,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780411278,
"last_update": 1780515033,
"banned": false,
"wipe": 1779577320,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6181,
"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/11731597");
$data = json_decode($json, true);
var_dump($data);