EU/ES CHOCOTRONCOS X3|Lootx3 Solo/Duo/Trio/Squad 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 108,
"fps_avg": 132,
"entities_count": 92976,
"world_seed": 19521155,
"world_size": 4000,
"steam_id": "90286944656309261",
"domain": null,
"id": 11501693,
"ip": "51.38.168.2",
"port": 2226,
"query": 2325,
"project_id": null,
"color": 0,
"city": "Roubaix",
"description": "\n\r\nCHOCOTRONCOS X3|LOOTX3|PVP/PVE/SOLO/DUO/TRIO/SQUAD \r\n° Full Wipe: Primer jueves del Mes. 20:00\r\n° Wipe Mapa y Construccion: Jueves a las 16:00\r\n° Reinicio: Cases,SkillTree,UltimateCases y mochila. Semanal\r\n Discord: https://discord.gg/ZAUs9kWdky\r\n Web: https://chocotroncos.webnode.es",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781187267,
"last_online": 1781336431,
"icon": null,
"name": "EU/ES CHOCOTRONCOS X3|Lootx3 Solo/Duo/Trio/Squad",
"connect": "51.38.168.2:2226",
"request": "51.38.168.2:2325",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207177,
"last_update": 1781336431,
"banned": false,
"wipe": 1781187229,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4760,
"language": "fr",
"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/11501693");
$data = json_decode($json, true);
var_dump($data);