Rust
Atlas - EU 2X Monthly | Vanilla+ | No BP Wipes 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/1397927json
{
"response": {
"modded": true,
"fps": 30,
"fps_avg": 30,
"entities_count": 641783,
"steam_id": 90284724972363780,
"domain": null,
"id": 1397927,
"ip": "205.178.168.170",
"port": 28010,
"query": 28015,
"color": 0,
"city": "London",
"description": "\nAtlas Rust Servers | Made for the most competitive\r\n\r\nMap Wipes: Force Wipes\r\nBlueprints Wipes: N/A (does not wipe ever)\r\n\r\nLinks\r\n• discord.gg/atlasrust\r\n• store.atlasrustservers.com\r\n\r\nFeatures\r\n• 2x Gather\r\n• 2x Loot (removed junk)\r\n• Free QoL\r\n• No paid features\r\n\r\n24 hours discord staff support",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775778122,
"score": null,
"last_online": 1776803412,
"icon": null,
"name": "Atlas - EU 2X Monthly | Vanilla+ | No BP Wipes",
"connect": "205.178.168.170:28010",
"request": "205.178.168.170:28015",
"map": "discord.gg/atlasrust",
"gamemode": "Survival",
"version": "2623",
"numplayers": 341,
"maxplayers": 400,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 112,
"add_date": 1696081588,
"last_update": 1776803412,
"banned": false,
"wipe": 1775152722,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 68,
"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/1397927");
$data = json_decode($json, true);
var_dump($data);