MORDHAU
API для [AG] Academy Star Wars - Jedi vs Sith - Duels - [EU]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11138193json
{
"response": {
"steam_id": "90284364273451039",
"domain": null,
"id": 11138193,
"ip": "185.186.65.18",
"port": 8005,
"query": 28105,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 629760,
"owner": null,
"boosts": 1,
"last_offline": 1774022476,
"score": 0,
"last_online": 1776206428,
"icon": null,
"name": "[AG] Academy Star Wars - Jedi vs Sith - Duels - [EU]",
"connect": "185.186.65.18:8005",
"request": "185.186.65.18:28105",
"map": "Mustafar",
"gamemode": "Mordhau",
"version": "702625635",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1770398640,
"last_update": 1776206428,
"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": 72,
"language": "en",
"parked": false,
"app": {
"id": 51451,
"steam_id": 629760,
"name": "MORDHAU",
"url": "mordhau"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11138193");
$data = json_decode($json, true);
var_dump($data);