Vegas Rust | Solo only | Vanilla 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 90286553333797890,
"domain": null,
"id": 6787356,
"ip": "156.236.84.141",
"port": 28005,
"query": 28006,
"color": 0,
"city": "Los Angeles",
"description": "\nVegas Rust (TM 2020) - Solo only - vanilla \r\n\r\n- This wipe is biweekly/fortnightly \r\n- map wipe only \r\n [Last: November 6 Next: November 20] \r\n - No BP wipe unless indicated. \r\nServer Discord: https://discord.gg/hCDetmeuqk \r\n \r\nEverything is vanilla, no changes to gameplay.\r\n \r\nHard Rules:\r\n \r\n-- 18+ Only - connecting to the server is your confirmation you are of age\r\n-- Solo only - for everything - PvP and PvE\r\n-- Allying only limited to no KoS\r\n-- Do not be rude to staff\r\n-- No base / loot give away\r\n \r\n - If you are giving a base/loot away you are expected not to play further that wipe\r\n \r\n - No trading BPs / Items without a vending machine i.e. no bartering / shop front exchange that impacts individual progression\r\n \r\n-- No racism - zero tolerance\r\n-- No politics - play the game\r\n-- No LGBTQ+ / gender hatred\r\n-- No cheating | scripting or exploiting\r\n \r\nCode of gamer conduct:\r\n \r\n-- Avoid raiding / griefing / killing noobs and nakeds\r\n-- Avoid excessive roof camping / door camping\r\n-- Avoid being a sore loser / bad winner\r\n \r\nReport violations on death screen or reach admins using /ticket create \r\nAll matters are subject to admin team's discretion and arbitration.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780141363,
"last_online": 1780567827,
"icon": null,
"name": "Vegas Rust | Solo only | Vanilla",
"connect": "156.236.84.141:28005",
"request": "156.236.84.141:28006",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2625",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1733159660,
"last_update": 1780567827,
"banned": false,
"wipe": 1779386876,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1462,
"language": "en",
"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/6787356");
$data = json_decode($json, true);
var_dump($data);