Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7251839
json
{
"response": {
"id": 7251839,
"ip": "71.60.78.118",
"port": 27015,
"query": 27015,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1746306523,
"score": 0,
"last_online": 1746301853,
"icon": null,
"name": "Runefire Gaming - Soulmask Server",
"connect": "71.60.78.118:7777",
"request": "71.60.78.118:27015",
"map": "Level01_Main",
"gamemode": "Soulmask",
"version": null,
"numplayers": 0,
"maxplayers": 3,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1736629680,
"last_update": 1746306523,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7251839");
$data = json_decode($json, true);
var_dump($data);