Rust
Bestrust Solo/Duo/Trio 2x #7 - Weekly | JUST WIPED 19.04 04/19 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10781107json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 218860,
"world_seed": 1337,
"world_size": 3999,
"steam_id": "90284744921351181",
"domain": null,
"id": 10781107,
"ip": "162.222.16.201",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Paris",
"description": "\nWelcome to Bestrust Solo/Duo/Trio 2x #7 - Weekly!\nGet 3 free rust skins by using the BESTRUST code on https://rustmagic.com/\n\nWipe Schedule:\n• Map wipes Every Sunday at 19:45 CEST\n- Last Wipe: 19.04 19:45 CEST Type: Map Wipe\n- Next Wipe: 26.04 19:45 CEST Type: Map Wipe\n\nFeatures:\n- 2x gathering & loot\n- Max Group Size: 3\n- Shared Blueprints\n- Balanced kits & commands\n- Great anti-cheat + Active non-playing admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776787402,
"score": 0,
"last_online": 1776821412,
"icon": null,
"name": "Bestrust Solo/Duo/Trio 2x #7 - Weekly | JUST WIPED 19.04 04/19",
"connect": "162.222.16.201:28015",
"request": "162.222.16.201:28017",
"map": "Wiped 2 days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 133,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 99,
"add_date": 1766872498,
"last_update": 1776821412,
"banned": false,
"wipe": 1776620641,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 117,
"language": "fr",
"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/10781107");
$data = json_decode($json, true);
var_dump($data);