Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6414json
{
"response": {
"steam_id": "90277464671974412",
"domain": null,
"id": 6414,
"ip": "162.248.91.136",
"port": 27015,
"query": 27015,
"color": 0,
"city": null,
"description": "",
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1761114204,
"score": null,
"last_online": 1764123649,
"icon": null,
"name": "Official NMRiH Server #1 - US Dallas Classic",
"connect": "162.248.91.136:27015",
"request": "162.248.91.136:27015",
"map": "nmo_brooklyn",
"gamemode": "No More Room in Hell",
"version": "1.1.4.2",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1501541234,
"last_update": 1764123649,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"position_game": 74,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6414");
$data = json_decode($json, true);
var_dump($data);