Automobilista 2
mediamarkt - mediamrktia 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11180346json
{
"response": {
"steam_id": "90284420750266393",
"domain": null,
"id": 11180346,
"ip": "37.132.81.123",
"port": 9602,
"query": 9603,
"color": 0,
"city": "Burgos",
"description": null,
"game": 1066890,
"owner": null,
"boosts": 1,
"last_offline": 1775226733,
"score": 0,
"last_online": 1776640286,
"icon": null,
"name": "mediamarkt - mediamrktia",
"connect": "37.132.81.123:9602",
"request": "37.132.81.123:9603",
"map": "Bathurst_2020",
"gamemode": "Automobilista 2",
"version": "1.0.0.93",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "ES",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772229599,
"last_update": 1776640286,
"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": 128,
"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/11180346");
$data = json_decode($json, true);
var_dump($data);