Automobilista 2
lowfuelmotorsport.com | LFMR | 309987|1 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10888431json
{
"response": {
"steam_id": "90285189326224384",
"domain": null,
"id": 10888431,
"ip": "74.208.24.208",
"port": 14002,
"query": 18002,
"color": 0,
"city": "Kansas City",
"description": null,
"game": 1066890,
"owner": null,
"boosts": 1,
"last_offline": 1777636947,
"score": 0,
"last_online": 1777597812,
"icon": null,
"name": "lowfuelmotorsport.com | LFMR | 309987|1",
"connect": "74.208.24.208:14002",
"request": "74.208.24.208:18002",
"map": "OultonPark_Classic",
"gamemode": "Automobilista 2",
"version": "1.0.0.93",
"numplayers": 0,
"maxplayers": 5,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768322306,
"last_update": 1777636947,
"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": 164,
"language": "en",
"parked": false,
"app": {
"id": 48189,
"steam_id": 1066890,
"name": "Automobilista 2",
"url": "automobilista-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10888431");
$data = json_decode($json, true);
var_dump($data);