Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/223413json
{
"response": {
"steam_id": "85568392921898704",
"domain": null,
"id": 223413,
"ip": "94.130.180.216",
"port": 27017,
"query": 27017,
"color": 0,
"city": null,
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1764050481,
"score": null,
"last_online": 1764123045,
"icon": null,
"name": "DuckyServers EU | Sandbox",
"connect": "94.130.180.216:27017",
"request": "94.130.180.216:27017",
"map": "pl_upward",
"gamemode": "Team Fortress",
"version": "10195385",
"numplayers": 0,
"maxplayers": 32,
"bots": 30,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1582979144,
"last_update": 1764123045,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"position_game": 520,
"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/223413");
$data = json_decode($json, true);
var_dump($data);