Automobilista 2
Formula L - Weller's Wibbly Wobbly World Championship 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11013072json
{
"response": {
"steam_id": "90284420234837008",
"domain": null,
"id": 11013072,
"ip": "212.69.52.121",
"port": 8766,
"query": 27015,
"color": 0,
"city": "Ladywell",
"description": null,
"game": 1066890,
"owner": null,
"boosts": 1,
"last_offline": 1775670683,
"score": 0,
"last_online": 1776630125,
"icon": null,
"name": "Formula L - Weller's Wibbly Wobbly World Championship",
"connect": "212.69.52.121:8766",
"request": "212.69.52.121:27015",
"map": "Spa_Francorchamps_1970",
"gamemode": "Automobilista 2",
"version": "1.0.0.93",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": true,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769942450,
"last_update": 1776630125,
"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": 121,
"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/11013072");
$data = json_decode($json, true);
var_dump($data);