API для [抽象理论]渊深服务器(QQ群:1059658462)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 90286419973878800,
"domain": null,
"id": 11638024,
"ip": "202.189.12.142",
"port": 27015,
"query": 27016,
"color": 0,
"city": "Jinan",
"description": null,
"game": 602960,
"owner": null,
"boosts": 1,
"last_offline": 1780567468,
"last_online": 1780632814,
"icon": null,
"name": "[抽象理论]渊深服务器(QQ群:1059658462)",
"connect": "202.189.12.142:27015",
"request": "202.189.12.142:27016",
"map": "方位角级",
"gamemode": "multiplayercampaign",
"version": "1.12.6.2",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779917170,
"last_update": 1780632814,
"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": 96,
"language": "zh",
"parked": false,
"app": {
"id": 50335,
"steam_id": 602960,
"name": "Barotrauma",
"url": "barotrauma"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11638024");
$data = json_decode($json, true);
var_dump($data);