Frack Toid | US MAIN | S/D/T | 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 234,
"fps_avg": 233,
"entities_count": 46776,
"world_seed": 3,
"world_size": 3000,
"steam_id": "90286332621416461",
"domain": null,
"id": 11671031,
"ip": "162.33.23.75",
"port": 10000,
"query": 10003,
"color": 0,
"city": "Dallas",
"description": "\nFrack-Toid is a community-focused Rust server featuring a Solo Duo Trio team experience. \r\n 2k-3k maps made by Ciplin quality control checks advalible to buy, with wipes every Thursday and Blueprint wipes Bi week or personal upon request. \r\n It is designed for a vanilla-style experience with low-end PC optimization.\r\n Kits available! \r\n No Hacking-Cheating No VAC-EAC bands less than a year. \r\n Toxic behavior not allowed. \r\n Frack Toid Gaming servers are expanding to include a more engaging Rust experience.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780180912,
"last_online": 1780566031,
"icon": null,
"name": "Frack Toid | US MAIN | S/D/T |",
"connect": "162.33.23.75:10000",
"request": "162.33.23.75:10003",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780180912,
"last_update": 1780566031,
"banned": false,
"wipe": 1779994974,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5850,
"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/11671031");
$data = json_decode($json, true);
var_dump($data);