Rust
|SEA| Malaysia X Indonesia |SOLO|DUO|TRIO| 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10605762json
{
"response": {
"fps": 36,
"fps_avg": 34,
"entities_count": 104687,
"world_seed": 15248518,
"world_size": 4250,
"steam_id": "90284552671630360",
"domain": null,
"id": 10605762,
"ip": "139.99.37.83",
"port": 19800,
"query": 19803,
"color": 0,
"city": "Singapore",
"description": "\n|Welcome to Malaysia X Indonesia| \r\n Pure Vanilla \r\n Weekly Map Wipe \r\n Blueprints Wipe Monthly \r\n Active Admins (silent and always watching) \r\n No Cheaters \r\n Toxic Free Community (teamwork or betrayal, your choice!) \r\n SURVIVE,HUNT,BUILD,DOMINATE \r\n No allies,No peace,Only RUST",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776414222,
"score": 0,
"last_online": 1776853818,
"icon": null,
"name": "|SEA| Malaysia X Indonesia |SOLO|DUO|TRIO|",
"connect": "139.99.37.83:19800",
"request": "139.99.37.83:19803",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1763321692,
"last_update": 1776853818,
"banned": false,
"wipe": 1776414327,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1961,
"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/10605762");
$data = json_decode($json, true);
var_dump($data);