RUST Ñ - LATAM/ESP - SOLO/DUO/TRIO MENSUAL 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 225,
"fps_avg": 224,
"entities_count": 71735,
"world_seed": 1701384765,
"world_size": 3500,
"steam_id": 90286590394349570,
"domain": null,
"id": 10534549,
"ip": "173.237.43.115",
"port": 29165,
"query": 29166,
"color": 0,
"city": "Dallas",
"description": "ULTIMO WIPE: 07/05/26\r\nDiscord: https://discord.gg/9QGsE2Bb3k\r\n\r\n- Mapa: 3500\r\n- Vanilla\r\n- Solo/Duo/Trio\r\n- Noob Friendly\r\n\r\nReglas:\r\n- Max 3 por equipo. No alianzas\r\n- Prohibido el grifeo\r\n- Prohibida la toxicidad\r\n- Perfil publico\r\n- VAC = BAN\r\n\r\nIP: 173.237.43.115:29165",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779906803,
"last_online": 1780585232,
"icon": null,
"name": "RUST Ñ - LATAM/ESP - SOLO/DUO/TRIO MENSUAL",
"connect": "173.237.43.115:29165",
"request": "173.237.43.115:29166",
"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": 1762518696,
"last_update": 1780585232,
"banned": false,
"wipe": 1778177267,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3760,
"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/10534549");
$data = json_decode($json, true);
var_dump($data);