Automobilista 2
DXDROIDS HOTLAP - 26W13 - DxDroids Simracing by Let Room - SEAS 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/3918690json
{
"response": {
"steam_id": "90284310485782559",
"domain": null,
"id": 3918690,
"ip": "5.250.189.123",
"port": 27015,
"query": 27016,
"color": 0,
"city": "Logroño",
"description": "",
"game": 1066890,
"owner": null,
"boosts": 1,
"last_offline": 1775075534,
"score": 0,
"last_online": 1776631216,
"icon": null,
"name": "DXDROIDS HOTLAP - 26W13 - DxDroids Simracing by Let Room - SEAS",
"connect": "5.250.189.123:27015",
"request": "5.250.189.123:27016",
"map": "Imola_GP_2018",
"gamemode": "Automobilista 2",
"version": "1.0.0.93",
"numplayers": 7,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": true,
"country": "ES",
"status": true,
"votes": 0,
"points": 81,
"add_date": 1713651622,
"last_update": 1776631216,
"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": 5,
"language": "es",
"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/3918690");
$data = json_decode($json, true);
var_dump($data);