Squad
API для Wing bataillon
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10630623json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10630623,
"ip": "85.236.188.154",
"port": 7787,
"query": 7787,
"color": 0,
"city": "Samara",
"description": null,
"game": 393380,
"owner": 84055,
"boosts": 1,
"last_offline": 1775979804,
"score": 0,
"last_online": 1776238816,
"icon": null,
"name": "Wing bataillon",
"connect": "85.236.188.154:7787",
"request": "85.236.188.154:7787",
"map": "BlackCoast_Seed_v1",
"gamemode": "Seed",
"version": "v10.3.1.576590.1719",
"numplayers": 0,
"maxplayers": 96,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1763632412,
"last_update": 1776238816,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 30,
"language": "ru",
"parked": false,
"app": {
"id": 137,
"steam_id": 393380,
"name": "Squad",
"url": "squad"
},
"server_owner": {
"username": "Fom23",
"avatar": "70c8a56c-082a-4d46-ad0b-6e2a006f5b73.jpg",
"last_online": 1776187224
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10630623");
$data = json_decode($json, true);
var_dump($data);