Ice Lakes
Vanhat Tavat 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/2739734json
{
"response": {
"steam_id": "90281680820961285",
"domain": null,
"id": 2739734,
"ip": "51.210.217.141",
"port": 13300,
"query": 27615,
"color": 0,
"city": "Strasbourg",
"description": "",
"game": 393430,
"owner": null,
"boosts": 1,
"last_offline": 1771249897,
"score": null,
"last_online": 1776193812,
"icon": null,
"name": "Vanhat Tavat",
"connect": "51.210.217.141:13300",
"request": "51.210.217.141:27615",
"map": "Level_Snowy_Mountains",
"gamemode": "IceLakes",
"version": "1.9.5",
"numplayers": 20,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 102,
"add_date": 1706268037,
"last_update": 1776193812,
"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": 1,
"language": "fr",
"parked": false,
"app": {
"id": 7257,
"steam_id": 393430,
"name": "Ice Lakes",
"url": "ice-lakes"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/2739734");
$data = json_decode($json, true);
var_dump($data);