Rust
EU RENEGADE 2x Monthly Main | 50% Upkeep | No BP Wipe | Noob Fr 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/567354json
{
"response": {
"steam_id": 90284078705827860,
"domain": null,
"id": 567354,
"ip": "45.88.230.46",
"port": 28018,
"query": 28015,
"color": 0,
"city": "Poplar",
"description": "===Welcome to EU RENEGADERUST.COM 2x Monthly Main=== Wipes on the first Thursda",
"game": 252490,
"owner": 34811,
"boosts": 1,
"last_offline": 1775542324,
"score": null,
"last_online": 1775691611,
"icon": null,
"name": "EU RENEGADE 2x Monthly Main | 50% Upkeep | No BP Wipe | Noob Fr",
"connect": "45.88.230.46:28018",
"request": "45.88.230.46:28015",
"map": "discord.gg/RenegadeRust",
"gamemode": "Rust",
"version": "2623",
"numplayers": 195,
"maxplayers": 215,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 145,
"add_date": 1668889493,
"last_update": 1775691611,
"banned": false,
"wipe": 1775151528,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 28,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust",
"popular_maps_available": false
},
"server_owner": {
"username": "GeoSciencegeek",
"avatar": "6bd50a36-573e-4532-b65d-d3f80795e956.jpg",
"last_online": 1680594104
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/567354");
$data = json_decode($json, true);
var_dump($data);