Rust
Rust133 Live World - x1+newRPG+Bonus | GlobalWIPE-08.05 in 17:0 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11435333json
{
"response": {
"oxide": true,
"modded": true,
"fps": 503,
"fps_avg": 485,
"entities_count": 18925,
"world_seed": 8526,
"world_size": 3000,
"steam_id": "90285499574952982",
"domain": null,
"id": 11435333,
"ip": "88.99.1.43",
"port": 13311,
"query": 13311,
"color": 0,
"city": "Falkenstein",
"description": "\nYou must download our client in LWor.ru or shop.LWor.ru to play with us!\nСкачайте наш клиент на LWor.ru или shop.LWor.ru что бы играть у нас!\n\nx1+RPG - TP - PM - Air - Home - EventRun - BigStacks - Kits - Friends - Clans - Help - AntiCheat - MapInGame - ResourcesLevels - ItemSkin - Remove - FriendlyFire - AutoDoors - UniqueSystemRaids\n\nDonat shop - LWor.ru or shop.LWor.ru\nGroup - vk.com/LiveW",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777550014,
"score": 0,
"last_online": 1778603420,
"icon": null,
"name": "Rust133 Live World - x1+newRPG+Bonus | GlobalWIPE-08.05 in 17:0",
"connect": "88.99.1.43:13311",
"request": "88.99.1.43:13311",
"map": "Barren",
"gamemode": "rust_server",
"version": "1806",
"numplayers": 8,
"maxplayers": 222,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1774977186,
"last_update": 1778603420,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2049,
"language": "de",
"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/11435333");
$data = json_decode($json, true);
var_dump($data);