MORDHAU
API для HordenKloppen_1
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10824394json
{
"response": {
"steam_id": "90279819748090889",
"domain": null,
"id": 10824394,
"ip": "66.248.194.152",
"port": 9050,
"query": 9051,
"color": 0,
"city": "The Hague",
"description": null,
"game": 629760,
"owner": null,
"boosts": 1,
"last_offline": 1774697547,
"score": 0,
"last_online": 1776209464,
"icon": null,
"name": "HordenKloppen_1",
"connect": "66.248.194.152:9050",
"request": "66.248.194.152:9051",
"map": "Mountain Peak",
"gamemode": "Mordhau",
"version": "702625635",
"numplayers": 0,
"maxplayers": 48,
"bots": 0,
"secured": false,
"private": true,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1767113850,
"last_update": 1776209464,
"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": 60,
"language": "nl",
"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/10824394");
$data = json_decode($json, true);
var_dump($data);