Rust
[JP/Tokyo] 17/4 Rust Underpants Solo/Duo (一人で) (二人) 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/9663047json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 68833,
"world_seed": 1337,
"world_size": 3250,
"steam_id": 90284743263493120,
"domain": null,
"id": 9663047,
"ip": "87.249.128.66",
"port": 28015,
"query": 28018,
"color": 0,
"city": "Tokyo",
"description": "![[JP/Tokyo] 17/4 Rust Underpants Solo/Duo (一人で) (二人)](https://i.imgur.com/z6V5zKb.jpg)\n-Underpants rusty Solo/Duo\r\n♛ -BP wipe every first Friday of every month at 4am tokyo(rust update)\r\n♛ -The map wipes you can find the list on discord\r\n♛ -https://discord.gg/JgFKMU5hsy\r\n♛ Underpants is a High Quality Rust server. We thrive to ensure players receive the best experience and server administration there is available We host our machines on High Quality, Dedicated servers using next generation hardware in our TOKYO datacenter\r\n♛ -No hacking/scripting\r\n♛ No racism\r\n♛ Active non playing admin",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776016337,
"score": 0,
"last_online": 1776853220,
"icon": null,
"name": "[JP/Tokyo] 17/4 Rust Underpants Solo/Duo (一人で) (二人)",
"connect": "87.249.128.66:28015",
"request": "87.249.128.66:28018",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 7,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1751634414,
"last_update": 1776853220,
"banned": false,
"wipe": 1776417819,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 910,
"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/9663047");
$data = json_decode($json, true);
var_dump($data);