Rust
ILHA DOS PELADOS BRASIL - SOLO DUO 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/805890json
{
"response": {
"fps": 76,
"fps_avg": 75,
"entities_count": 78245,
"world_seed": 550496754,
"world_size": 3500,
"steam_id": "90284799726541839",
"domain": null,
"id": 805890,
"ip": "177.105.171.183",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Cornélio Procópio",
"description": "\nILHA DOS PELADOS - SOLO/DUO - VANILLA\r\n\r\n- SERVIDOR SOLO/DUO\r\n- WIPE MAP SEMANAL\r\n- WIPE QUINZENAL\r\n- LOW DECAY (50%)\r\n- CHINOOK TIME 10:00\r\n- NUMERO DE SENTRYS PERMITIDAS 20\r\n\r\n- SOLO/DUO SERVER\r\n- WEEKLY WIPE MAP\r\n- BI-WEEKLY FULL WIPE\r\n- LOW DECAY (50%)\r\n- CHINOOK TIME 10:00\r\n- NUMBER OF AUTO TURRETS ALLOWED 20",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776376420,
"score": null,
"last_online": 1776850820,
"icon": null,
"name": "ILHA DOS PELADOS BRASIL - SOLO DUO",
"connect": "177.105.171.183:28015",
"request": "177.105.171.183:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1684353920,
"last_update": 1776850820,
"banned": false,
"wipe": 1776376391,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2518,
"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/805890");
$data = json_decode($json, true);
var_dump($data);