rFactor 2
FiHSF1_2026_Saudi 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11393099json
{
"response": {
"steam_id": "90285056870735881",
"domain": null,
"id": 11393099,
"ip": "172.245.177.99",
"port": 64297,
"query": 64299,
"color": 0,
"city": "Buffalo",
"description": null,
"game": 365960,
"owner": null,
"boosts": 1,
"last_offline": 1777338797,
"score": 0,
"last_online": 1777603230,
"icon": null,
"name": "FiHSF1_2026_Saudi",
"connect": "172.245.177.99:64297",
"request": "172.245.177.99:64299",
"map": "Jeddah Corniche Circuit",
"gamemode": "rFactor 2",
"version": "11134",
"numplayers": 3,
"maxplayers": 46,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 41,
"add_date": 1774596779,
"last_update": 1777603230,
"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": 15,
"language": "en",
"parked": false,
"app": {
"id": 146,
"steam_id": 365960,
"name": "rFactor 2",
"url": "rfactor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11393099");
$data = json_decode($json, true);
var_dump($data);