Rust
[EU] BekerMelk's Gun Aim Training Server | AimTrain | UkNL 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/401033json
{
"response": {
"fps": 80,
"fps_avg": 79,
"entities_count": 25420,
"world_seed": 1337,
"world_size": 3750,
"steam_id": "90285466899353601",
"domain": null,
"id": 401033,
"ip": "64.40.9.165",
"port": 28019,
"query": 28020,
"color": 0,
"city": "London",
"description": "![[EU] BekerMelk's Gun Aim Training Server | AimTrain | UkNL](https://aimtraining.net/media/Bekermelks-Gun-Aim-Training.png)\nWelcome to BekerMelk's Gun Aim Training server!\r\nBekerMelk's is more than just an Aim Training server. \r\nExplore all features with /info | Have fun!\r\n\r\nLeaderboard & Ranks @ https://aimtraining.net \r\nDiscord: discord.gg/bekermelk <- giveaways! \r\n\r\nRules: \r\n - Teaming is not allowed!\r\n - No Racism \r\n - No Advertising \r\n - No Bug Abusing",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776411220,
"score": null,
"last_online": 1778179216,
"icon": null,
"name": "[EU] BekerMelk's Gun Aim Training Server | AimTrain | UkNL",
"connect": "64.40.9.165:28019",
"request": "64.40.9.165:28020",
"map": "BekerMelk Gun AimTraining.net",
"gamemode": "Survival",
"version": "2624",
"numplayers": 30,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 75,
"add_date": 1603793271,
"last_update": 1778179216,
"banned": false,
"wipe": 1713786387,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 507,
"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/401033");
$data = json_decode($json, true);
var_dump($data);