Official Oceania Freeroam 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90285996999478285",
"domain": null,
"id": 11588263,
"ip": "103.15.237.217",
"port": 23753,
"query": 23755,
"color": 0,
"city": "Melbourne",
"description": null,
"game": 321360,
"owner": null,
"boosts": 1,
"last_offline": 1779454426,
"last_online": 1779877332,
"icon": null,
"name": "Official Oceania Freeroam",
"connect": "103.15.237.217:23753",
"request": "103.15.237.217:23755",
"map": "fr-valley",
"gamemode": "PCFreeRoamGame",
"version": "3.3.2",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779357590,
"last_update": 1779877332,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 43,
"language": "en",
"parked": false,
"app": {
"id": 4384,
"steam_id": 321360,
"name": "Primal Carnage: Extinction",
"url": "primal-carnage-extinction"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11588263");
$data = json_decode($json, true);
var_dump($data);