Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8042233
json
{
"response": {
"id": 8042233,
"ip": "89.35.130.140",
"port": 25306,
"query": 25306,
"owner_name": "zorka228",
"owner_avatar": "bf09ba67-fe9a-450f-b76e-d7f34347e395.jpg",
"color": 0,
"description": null,
"game": 9000034,
"owner": 96915,
"boosts": 1,
"last_offline": 1743462251,
"score": 5,
"last_online": 1742758847,
"icon": null,
"name": "✟ ZorkaWorld ✟ Идеальные режимы ✿ 1.21 - 1.16.5 ✿ для тебя и друзей!",
"connect": "89.35.130.140:25306",
"request": "89.35.130.140:25306",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 1000,
"bots": 0,
"secured": false,
"private": null,
"country": "GB",
"status": false,
"votes": 1,
"points": 1,
"add_date": 1741374591,
"last_update": 1743462251,
"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": {
"username": "zorka228",
"avatar": "bf09ba67-fe9a-450f-b76e-d7f34347e395.jpg"
},
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8042233");
$data = json_decode($json, true);
var_dump($data);