Soulmask
API для [RU/PVE/X3] Ирий [Shifting Sands]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10513253json
{
"response": {
"steam_id": "90285149849852946",
"domain": null,
"id": 10513253,
"ip": "91.192.169.130",
"port": 8777,
"query": 27015,
"color": 0,
"city": "Verkhnyaya Pyshma",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1777523008,
"score": 0,
"last_online": 1777531225,
"icon": null,
"name": "[RU/PVE/X3] Ирий [Shifting Sands]",
"connect": "91.192.169.130:8777",
"request": "91.192.169.130:27015",
"map": "DLC_Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 10,
"points": 59,
"add_date": 1761423336,
"last_update": 1777531225,
"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": 15,
"language": "ru",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10513253");
$data = json_decode($json, true);
var_dump($data);