V Rising
[EU] Shadow of Iberia | BRUTAL | Duo | x10 | Modded | 03/20/202 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11365332json
{
"response": {
"steam_id": "90283204672989185",
"domain": null,
"id": 11365332,
"ip": "170.23.138.81",
"port": 24504,
"query": 24505,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1776300113,
"score": 0,
"last_online": 1776451359,
"icon": null,
"name": "[EU] Shadow of Iberia | BRUTAL | Duo | x10 | Modded | 03/20/202",
"connect": "170.23.138.81:24504",
"request": "170.23.138.81:24505",
"map": "VRisingWorld",
"gamemode": "567b541b-92e1-45dd-8412-e5327eb44d31",
"version": "0.0.0.1",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1774595187,
"last_update": 1776451359,
"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": 188,
"language": "de",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11365332");
$data = json_decode($json, true);
var_dump($data);