Arma 3
API для [TTT] TacticalTrainingTeam - tacticalteam.de - 3CB-RHS
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/809416json
{
"response": {
"steam_id": 90284546363642880,
"domain": null,
"id": 809416,
"ip": "176.9.218.122",
"port": 2332,
"query": 2333,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776400419,
"score": null,
"last_online": 1776480664,
"icon": null,
"name": "[TTT] TacticalTrainingTeam - tacticalteam.de - 3CB-RHS",
"connect": "176.9.218.122:2332",
"request": "176.9.218.122:2333",
"map": "hebontes",
"gamemode": "co91_Trainingsmap_v313",
"version": "2.20.153649",
"numplayers": 0,
"maxplayers": 82,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684356517,
"last_update": 1776480664,
"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": 490,
"language": "de",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/809416");
$data = json_decode($json, true);
var_dump($data);