Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6973809
json
{
"response": {
"id": 6973809,
"ip": "216.201.72.63",
"port": 26925,
"query": 26925,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1742818584,
"score": 0,
"last_online": 1742838970,
"icon": null,
"name": "A Minecraft Server",
"connect": "216.201.72.63:26925",
"request": "216.201.72.63:26925",
"map": null,
"gamemode": null,
"version": "1.20.1",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": null,
"country": "LU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1734734088,
"last_update": 1742838970,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6973809");
$data = json_decode($json, true);
var_dump($data);