Arma 3
API для (Eng) Charlie Squad Modded (https://discord.gg/xNpbfpNuVw)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10493345json
{
"response": {
"steam_id": "90285370674995205",
"domain": null,
"id": 10493345,
"ip": "5.83.165.121",
"port": 10100,
"query": 10101,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1778542936,
"score": 0,
"last_online": 1777986063,
"icon": null,
"name": "(Eng) Charlie Squad Modded (https://discord.gg/xNpbfpNuVw)",
"connect": "5.83.165.121:10100",
"request": "5.83.165.121:10101",
"map": "pja310",
"gamemode": "CTI 34 KP Liberation Al Rayak v0.96.7a",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1761123483,
"last_update": 1778542936,
"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": 2842,
"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/10493345");
$data = json_decode($json, true);
var_dump($data);