RUSTED NOOBS | CUSTOM MAP | TRAIN BASES | AND MORE!! 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286634449405964",
"domain": null,
"id": 11800964,
"ip": "66.51.98.53",
"port": 28020,
"query": 28021,
"project_id": null,
"color": 0,
"city": "Los Angeles",
"description": "Welcome to RUSTED NOOBS!!\r\n\r\njoin the discord https://discord.gg/YfgWhbRgfs\r\n\r\nWipe: First thursday of the month (8:00PM PST)\r\n\r\nMap Size: 4250 (Maps hand chosen for PVP)\r\n\r\nServer Rules:\r\n- Don't cheat, script as well as using 3rd party software\r\n- Don't evade EAC\r\n- Don't Abuse any glitches, bugs, if you have find any bugs, glitches report them in the discord server\r\n- No racism\r\n\r\nIf you would like to support/donate to keep this server up and running join the discord server.\r\n\r\nWIPES THURSDAY",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781463043,
"last_online": 1781581228,
"icon": null,
"name": "RUSTED NOOBS | CUSTOM MAP | TRAIN BASES | AND MORE!!",
"connect": "66.51.98.53:28020",
"request": "66.51.98.53:28021",
"map": "Custom Map",
"gamemode": "Rust",
"version": "2627",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1781463043,
"last_update": 1781581228,
"banned": false,
"wipe": 1780598285,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6208,
"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/11800964");
$data = json_decode($json, true);
var_dump($data);