API для ESP | 1ª Compañía Poseidón | Milsim | https://discord.gg/yXR8sKbZBy
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787241506,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "152.114.195.151:2000",
"country": "ES",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13868397,
"ip": "152.114.195.151",
"language": "es",
"last_update": 1794695989,
"map": "Takistan Gamemaster",
"maxplayers": 40,
"name": "ESP | 1ª Compañía Poseidón | Milsim | https://discord.gg/yXR8sKbZBy",
"numplayers": 0,
"official": false,
"points": 30,
"port": 2000,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2000,
"request": "152.114.195.151:2000",
"secured": true,
"status": true,
"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": 1794692556,
"last_online": 1794695989,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1757,
"wipe_period": null,
"flags": 1,
"region": "EU",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "932d5a9b-00003118a1c7",
"pingSiteId": "london",
"scenarioId": "{AE093AC2115FA23D}Missions/Takistan_Gamemaster.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 119,
"memory": 480105
},
"directJoinCode": "0914436340",
"detailsUpdatedAt": 1794596545,
"hostedScenarioModId": "615EEBD9BDFEEE9B",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13868397");
$data = json_decode($json, true);
var_dump($data);