Rust
AU|AndysolAM 20x No BPs |PVP|Shop|Loot+|Kits|Raid+|MyMini 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11004822json
{
"response": {
"steam_id": 90071992547409920,
"domain": null,
"id": 11004822,
"ip": "143.20.71.1",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Tallinn",
"description": "\nZolt.gg is a community that supports competitive gameplay with our custom maps, constant updates, quality kits, active non-playing admins and much more!\r\n \r\n Wipes Every Thursday at 4PM UK\r\n Our website: https://zolt.gg \r\n \r\n Key features:\r\n \r\n \\t - 3x Gathering \r\n \\t - No BPs & Faster Crafting \r\n \\t - Clans, Auth Share, Teleport, Homes \r\n \\t - Improved Loot & Faster Respawning Loot \r\n Key rules: \r\n \r\n \\t - Limited team UI, allying allowed \r\n \\t - No cheating/hacking/scripting \r\n \\t - Spamming chat, being racist, or advertising is prohibited \r\n \\t - No DDoS threats or doxxing \r\n \\t - No gameban in the past 90 days (2 or more gamebans are prohibited) \r\n \\t - Bug abuse is prohibited",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775038293,
"score": 0,
"last_online": 1776192019,
"icon": null,
"name": "AU|AndysolAM 20x No BPs |PVP|Shop|Loot+|Kits|Raid+|MyMini",
"connect": "143.20.71.1:28015",
"request": "143.20.71.1:28016",
"map": "20x AndysolAM",
"gamemode": "Rust",
"version": "2622",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "EE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769938989,
"last_update": 1776192019,
"banned": false,
"wipe": 1774328332,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4833,
"language": "et",
"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/11004822");
$data = json_decode($json, true);
var_dump($data);