Squad
API для [RU][AAS+] Кресты
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10630655json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10630655,
"ip": "185.207.214.12",
"port": 7787,
"query": 7787,
"color": 0,
"city": "Moscow",
"description": null,
"game": 393380,
"owner": null,
"boosts": 1,
"last_offline": 1775022153,
"score": 0,
"last_online": 1776439810,
"icon": null,
"name": "[RU][AAS+] Кресты",
"connect": "185.207.214.12:7787",
"request": "185.207.214.12:7787",
"map": "AlBasrah_RAAS_v1",
"gamemode": "RAAS",
"version": "v10.3.1.576590.1719",
"numplayers": 100,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 0,
"points": 130,
"add_date": 1763633265,
"last_update": 1776439810,
"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": 10,
"language": "ru",
"parked": false,
"app": {
"id": 137,
"steam_id": 393380,
"name": "Squad",
"url": "squad"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10630655");
$data = json_decode($json, true);
var_dump($data);