[LTG] BR/LATAM TEST 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 951,
"world_seed": 1337,
"world_size": 6000,
"steam_id": "90286522335856644",
"domain": null,
"id": 11607429,
"ip": "45.157.16.222",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Osasco",
"description": "![[LTG] BR/LATAM TEST](https://i.imgur.com/bgFvo9j.jpeg)\nPowered byEL UNICO SERVIDOR DE PRACTICA Y ARENAS PVP DE LATINOAMERICA.\r\n- Arenas\r\n- Targets\r\n- FFA AK y BOW\r\n- SHOPFRONTS\r\n- Facechecks Pterodactyl",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779921824,
"last_online": 1780551632,
"icon": null,
"name": "[LTG] BR/LATAM TEST",
"connect": "45.157.16.222:28015",
"request": "45.157.16.222:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 2000,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915505,
"last_update": 1780551632,
"banned": false,
"wipe": 1779920453,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5596,
"language": "pt",
"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/11607429");
$data = json_decode($json, true);
var_dump($data);