API для [CN] PVE原版合作|华中 QQ101672882
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792985934,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "113.66.124.34:2001",
"country": "CN",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19070460,
"ip": "113.66.124.34",
"language": "zh",
"last_update": 1794784987,
"map": "#AR-Campaign_HQC_ScenarioName_Everon",
"maxplayers": 64,
"name": "[CN] PVE原版合作|华中 QQ101672882",
"numplayers": 0,
"official": false,
"points": 0,
"port": 2001,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "113.66.124.34:2001",
"secured": true,
"status": false,
"steam_id": null,
"version": "1.9.0.37",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Гуанчжоу",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794784987,
"last_online": 1794058973,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 6140,
"wipe_period": null,
"flags": 1,
"region": "ASIA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "42f755af-0000e628fb24",
"pingSiteId": "singapore",
"scenarioId": "{0220741028718E7F}Missions/23_Campaign_HQC_Everon.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 200,
"memory": 1031832
},
"directJoinCode": "0028700340",
"detailsUpdatedAt": 1793890246,
"hostedScenarioModId": "6AA225D4D0F5A8E7",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19070460");
$data = json_decode($json, true);
var_dump($data);