EU RUSTCODE 2X | Weekly | NO BP WIPE 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 70087,
"world_seed": 923316512,
"world_size": 3500,
"steam_id": "90286951883526167",
"domain": null,
"id": 11501836,
"ip": "64.40.9.123",
"port": 28115,
"query": 28113,
"project_id": null,
"color": 0,
"city": "London",
"description": "\nRUSTCODE IS A NEW SERVER ! We keep Rust feeling like Rust — just a little faster and smoother. Slight quality of life changes to reduce frustration without breaking natural gameplay. New players can learn the game without being too punished. Progress at a better pace, stay longer, enjoy more. \r\n \r\n \r\n•Wipe Weekly \r\n• No Bp Wipe (Only on Force) \r\n• X2 Gather Rate \r\n• X2 Smelt Speed \r\n• Balanced Loot (No Trash) \r\n• Free SkinBox \r\n• Play to Win Free VIP \r\n• Quality of life Features \r\n• Active Non-playing Admins \r\n \r\n \r\nrs022RXaozJ/0S&x73&*ng",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781115871,
"last_online": 1781337030,
"icon": null,
"name": "EU RUSTCODE 2X | Weekly | NO BP WIPE",
"connect": "64.40.9.123:28115",
"request": "64.40.9.123:28113",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 120,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207182,
"last_update": 1781337030,
"banned": false,
"wipe": 1781115982,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4788,
"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/11501836");
$data = json_decode($json, true);
var_dump($data);