Arma 3
API для [SG] TF BADGER || http://steamcommunity.com/groups/arma3frog
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6953445json
{
"response": {
"steam_id": "90284738392654871",
"domain": null,
"id": 6953445,
"ip": "139.99.94.88",
"port": 26970,
"query": 26971,
"color": 0,
"city": "Singapore",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776477800,
"score": 0,
"last_online": 1776809556,
"icon": null,
"name": "[SG] TF BADGER || http://steamcommunity.com/groups/arma3frog",
"connect": "139.99.94.88:26970",
"request": "139.99.94.88:26971",
"map": null,
"gamemode": "Waiting",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": true,
"country": "SG",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1734696100,
"last_update": 1776809556,
"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": 905,
"language": "en",
"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/6953445");
$data = json_decode($json, true);
var_dump($data);