Rust
Atlas - EU 5x | No BPs | Kits 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/557153json
{
"response": {
"modded": true,
"fps": 30,
"fps_avg": 30,
"entities_count": 191284,
"world_seed": 1337,
"world_size": 5000,
"steam_id": "90284817432225817",
"domain": null,
"id": 557153,
"ip": "168.100.161.173",
"port": 28010,
"query": 28015,
"color": 0,
"city": "London",
"description": "\nAtlas Rust Servers | Made for the most competitive\r\nWipe times\r\n4PM GMT Wednesday\r\n1PM GMT Saturday\r\nLinks\r\n• discord.gg/atlasrust\r\n• store.atlasrustservers.com\r\nFeatures\r\n• 5X Gather\r\n• 10X Sulfur\r\n• 5X Loot (removed junk)\r\n• Custom events\r\n• Boosted custom kits 24 hours discord staff support",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775690523,
"score": null,
"last_online": 1776930011,
"icon": null,
"name": "Atlas - EU 5x | No BPs | Kits",
"connect": "168.100.161.173:28010",
"request": "168.100.161.173:28015",
"map": "discord.gg/atlasrust",
"gamemode": "Survival",
"version": "2623",
"numplayers": 71,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 96,
"add_date": 1665919043,
"last_update": 1776930011,
"banned": false,
"wipe": 1776869900,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 109,
"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/557153");
$data = json_decode($json, true);
var_dump($data);