Rust
[EU] Frustration | x2 | Monthly Main | No BP Wipe | Wipe 2/4 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/1746183json
{
"response": {
"fps": 64,
"fps_avg": 65,
"entities_count": 202045,
"world_seed": 585338471,
"world_size": 5500,
"steam_id": "90284830932191234",
"domain": null,
"id": 1746183,
"ip": "51.178.218.23",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Paris",
"description": "![[EU] Frustration | x2 | Monthly Main | No BP Wipe | Wipe 2/4](https://i.ibb.co/2Kwdw28/Untitled.png)\nWelcome to Frustration community server\n\nWipe: 1st Thursday of each month @ 19:00 GMT (UK-TIME)\nNo BP Wipe.\n\n Features:\n - Recyclers at Dome, Oilrigs, Cargo, Ranches and Fishing\n - 50% Upkeep for better experience\n - 55 Minutes Day / 5 Minutes Night\n - Skinbox for all with /skin in chat\n - Oil Rig Respawn (30min)\n - Unlocked Crate (10min)\n - Mini's spawn on roads\n - Advanced Anti-Cheat\n - 2x Gather Rates\n - No Pay-to-Win\n - Noob Friendly\n\n Rules:\n - Close quarry are not allowed and result a ban\n - No VAC or Steam game bans within 90 days\n - No EAC bans within 90 days\n - No more than 2 total bans\n - No Racism or Homophobia\n - No ADS / Spamming\n\n[RS-afb8392f]",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775577646,
"score": null,
"last_online": 1776952820,
"icon": null,
"name": "[EU] Frustration | x2 | Monthly Main | No BP Wipe | Wipe 2/4",
"connect": "51.178.218.23:28015",
"request": "51.178.218.23:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1699432892,
"last_update": 1776952820,
"banned": false,
"wipe": 1775153782,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1132,
"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/1746183");
$data = json_decode($json, true);
var_dump($data);