Rust
Rusty.co.il | לארשי | 16/04 (יעובש) 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8528619json
{
"response": {
"fps": 168,
"fps_avg": 134,
"entities_count": 51850,
"world_seed": 86734,
"world_size": 3000,
"steam_id": "90284742533544965",
"domain": null,
"id": 8528619,
"ip": "191.96.229.124",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Petah Tikva",
"description": "\nShalom!\r\nMap - Weekly at Thursday 17:00 (IL Time)\r\nBPs - Every force map wipe | Next @ May's force wipe\r\n\r\nWebsite: rusty.co.il\r\nDiscord: discord.rusty.co.il\r\n→ Map size: 3000\r\n→ Map seed: 86734\r\n→ Team limit: 4\r\n\r\nRules:\r\n- No hacking / scripting\r\n- No intentional bug abuse\r\n- No EAC / FP banned alts\r\n- No ban evading\r\n- No racism\r\n\r\nEnjoy your stay!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776249713,
"score": 0,
"last_online": 1776853222,
"icon": null,
"name": "Rusty.co.il | לארשי | 16/04 (יעובש)",
"connect": "191.96.229.124:28015",
"request": "191.96.229.124:28017",
"map": "www.Rusty.co.il",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "IL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1744458107,
"last_update": 1776853222,
"banned": false,
"wipe": 1776349736,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3280,
"language": "he",
"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/8528619");
$data = json_decode($json, true);
var_dump($data);