Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/241593json
{
"response": {
"steam_id": "90277486238866451",
"domain": null,
"id": 241593,
"ip": "5.200.27.207",
"port": 27145,
"query": 27145,
"color": 0,
"city": null,
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1760034275,
"score": null,
"last_online": 1764119424,
"icon": null,
"name": "BolusBrigade #14",
"connect": "5.200.27.207:27145",
"request": "5.200.27.207:27145",
"map": "ctf_turbine",
"gamemode": "Team Fortress",
"version": "10195385",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": true,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1583081836,
"last_update": 1764119424,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"position_game": 552,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/241593");
$data = json_decode($json, true);
var_dump($data);