Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4889528
json
{
"response": {
"id": 4889528,
"ip": "144.126.153.187",
"port": 32200,
"query": 32215,
"color": 0,
"description": null,
"game": 1963370,
"owner": null,
"boosts": 1,
"last_offline": 1753112814,
"score": 0,
"last_online": 1758597149,
"icon": null,
"name": "Blood and Brains",
"connect": "144.126.153.187:32200",
"request": "144.126.153.187:32215",
"map": "NeedPassword",
"gamemode": "NoOneSurvivedServer",
"version": "0.0.9.5",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1719437168,
"last_update": 1758597149,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 1554615,
"steam_id": 1963370,
"name": "No One Survived",
"url": "no-one-survived",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/4889528");
$data = json_decode($json, true);
var_dump($data);