Rust
[JP/Tokyo] SORAYU.ME - Solo/Duo/Trio|pvp|weekly/Wed|04/29 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10805479json
{
"response": {
"fps": 24,
"fps_avg": 33,
"entities_count": 81542,
"world_seed": 1512325712,
"world_size": 3800,
"steam_id": "90285103002909701",
"domain": null,
"id": 10805479,
"ip": "163.44.102.82",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chiyoda City",
"description": "![[JP/Tokyo] SORAYU.ME - Solo/Duo/Trio|pvp|weekly/Wed|04/29](https://rust-maps.sorayu.me/images/rust-sorayume-banner-gen2.png)\nようこそ!\r\n本サーバーは、ソロ・デュオ・トリオ向け(チーム上限3人)の、vanilla環境サーバーです。\r\n \r\n初心者から上級者までどなたでも歓迎します。\r\nそれぞれのプレイスタイルを尊重し、公平で快適な環境を目指しています。\r\n \r\n【Server Settings】\r\n- Team limit: 3 (Solo / Duo / Trio)\r\n- Map / BP wipe: Every Wednesday around 12:00 (JST)\r\n- Daily restart: Around 05:30 (JST)\r\n- Next wipe: May 08 18:00 JST\r\n- Bandit Camp has been merged into Outpost.\r\n\r\n*********\r\nCheating and rule violations are handled strictly.\r\nSupport is available in Japanese and English.\r\nFor more information, please check our website or Discord.\r\n*********",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777431798,
"score": 0,
"last_online": 1777460417,
"icon": null,
"name": "[JP/Tokyo] SORAYU.ME - Solo/Duo/Trio|pvp|weekly/Wed|04/29",
"connect": "163.44.102.82:28015",
"request": "163.44.102.82:28017",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 25,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1766921278,
"last_update": 1777460417,
"banned": false,
"wipe": 1777431918,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 606,
"language": "ja",
"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/10805479");
$data = json_decode($json, true);
var_dump($data);