Soulmask
API для [RU/PVE/X2] Сибирь mod classic
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9755818json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9755818,
"ip": "87.103.246.51",
"port": 18000,
"query": 18005,
"color": 0,
"city": "Novosibirsk",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1775788323,
"score": 0,
"last_online": 1775786423,
"icon": null,
"name": "[RU/PVE/X2] Сибирь mod classic",
"connect": "87.103.246.51:18000",
"request": "87.103.246.51:18005",
"map": "Level01_Main",
"gamemode": "00",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 3,
"points": 3,
"add_date": 1752328902,
"last_update": 1775788323,
"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": 1488,
"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/9755818");
$data = json_decode($json, true);
var_dump($data);